Notes on our Unicode Currency Symbols

Our queries return currency symbols in Unicode Decimal form. In order to display these currency symbols in a website, mobile app or desktop application you will have to convert them into readable characters.


Note: Some of you may choose not to display the currency symbol at all, but rather to display the three-digit currency code instead. For example, USD 12.99 instead of $10.99. This can reduce some confusion because many currencies share the same symbol. Take, for example, $10. Is that US Dollars or Australian Dollars?


Very important: Some currency symbols are two,three or four characters long, such as the Russian Ruble руб (1088,1091,1073). We return these multi-character symbols in the format [number],[number],[number]. In order to display them correctly you must explode the string by ',' and then display each character separately.


HTML

If your final display is described by HTML, you can display the symbol as follows:

&#N;      (where N is the Unicode Decimal)
Example:
€   (this will print €)

Here is an example of a multi-character currency symbol:

Example Unicode String:
1088,1091,1073
You Should Display:
руб (this will print руб)

Other

If you require the symbol to be displayed in a mobile or desktop application, you can easily investigate how to convert the Unicode Decimal to a character in your programming language. This is a fairly standard operation, and all languages do provide a method for doing so.