When you're customizing your storefront, you may find that certain special characters (for example, currency symbols) do not render properly when you view your storefront in your web browser.
In these cases, the characters are being rendered using a character encoding type that cannot properly display them.
Issues With Character Encoding Types
Computer systems and web browsers use a variety of character encoding methods, and some may be unable to display special characters created using different character encoding standards.
For example, a web browser configured to use the ASCII character encoding standard (the default standard for North American-based computer operating systems and applications) may be unable to properly display some characters created using the Shift-JIS encoding standard (an encoding method used by operating systems and applications for the Japanese language).
Because the internet is a global environment, in can be challenging to manage the way a web page is displayed to international visitors.
By using HTML, you can resolve many of these incompatibility issues by using special character codes to represent symbols often found in text (e.g. currency, copyright and trademark symbols, etc.). Since HTML is standard for any browser in any language, using these special HTML codes should allow characters to render properly, regardless character encoding type.
HTML Codes for Special Symbols
Visit www.ascii.cl/htmlcodes for a comprehensive list of HTML codes that can be used to render special characters. Additionally, the following table provides a list of the HTML codes that can be used to render common international currency symbols:
Currency: US Dollar
HTML Code: $
HTML Code: €
HTML Code: £
Currency: Japanese Yen
HTML Code: ¥
Substitute any symbol in this table with the 5-6 character HTML code for that symbol. The symbol will be properly rendered when viewed through any modern web browser.