| ActiveXObject("ADODB.Command") data encoding problem
|
ac1982

msg:4068813 | 10:16 am on Jan 27, 2010 (gmt 0) | hi, i currently have a JavaScript executable file that uses ActiveXObject("Microsoft.XMLDOM") to read an xml file. All the information that i get is in utf-8. When i tried to save those data into my database, is not stored correctly and all the characters are wrong. I have check my database and I found that the collation is SQL_Latin1_General_CP1_CI_AS. For storing the data into db i use ActiveXObject("ADODB.Command"). Is there is property for this object to set the charset from utf-8 to SQL_Latin1_General_CP1_CI_AS? thank you
|
|