node-mssql
node-mssql copied to clipboard
Problem with Farsi characters
While updating a table and setting some Farsi/Arabic characters into a column, this changes them to a code like El1 2F/l.
Please Help!
anyone please help!
Have you confirmed that you are using data types in node and the database that are Unicode capable (i.e. nvarchar)? http://tediousjs.github.io/tedious/api-datatypes.html https://stackoverflow.com/questions/612430/when-must-we-use-nvarchar-nchar-instead-of-varchar-char-in-sql-server
My problem has solved after changing the VarChar to NVarChar and unicode is now working like a charm.