Welcome to WebmasterWorld Guest from 107.20.104.161

Forum Moderators: phranque

Message Too Old, No Replies

ActiveXObject("ADODB.Command") data encoding problem

     

ac1982

10:16 am on Jan 27, 2010 (gmt 0)

5+ Year Member



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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month