Chinese character become ??? by pymssql or pyodbc

J

James Su

I tried to use pymssql to access MSSQL 2000, with a table, I store
Chinese Character in NVarchar field, Chinese Character display
normally when I query them by MS SQL Query Analyzer under Windows or
by unixODBC under Ubuntu.
But when I query those data by pymssql or pyodbc, all Chinese
Character display ??? instead.
Does anyone has some advice or thread? Thanks.
 
J

Jeroen Ruigrok van der Werven

-On [20080414 10:31] said:
But when I query those data by pymssql or pyodbc, all Chinese
Character display ??? instead.

Sounds like you are getting typical Unicode replacement characters.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top