An application that I’ve built is used worldwide by our organization and needs to support several different currencies. SQL Server was doing fine with the ‘normal’ stuff i.e. the GBP symbol, Euro symbol, but when I introduced the symbol for the Saudi Riyal (ريال SAR), it stores it as question marks.
Client-side is 100% jQuery/javascript working with REST-enabled WCF services.
I ran across something talking about the LocaleID here
Hoping someone can shed some light on this.
Format your strings as
nVarchar. If they are in fields in a table, change the datatype. If they are just formatted on the fly, use theNprefix.nVarcharis unicode, which is an expanded international character set.Example:
On my system, the first shows
????, the second shows the symbol correctly.EDIT
If the characters were entered as
varcharyou will still have issues.See example below: