Question: Can I display special or mathematical symbols as part of JavaScript output? Answer: You can include symbols in JavaScript strings and/or display symbols on your HTML pages using several representations: hexadecimal codes \xXX in JavaScript strings; e.g. degree (°) is \xB0 Unicode hex codes \uXXXX in JavaScript strings; e.g. euro sign (€) is \u20AC HTML entities; e.g. euro (€) is € a