Python and SQL server (Greek text)

Giorgos Marentakis gem at
Tue Jun 22 09:05:17 EDT 1999

Hallo all ,

I'm using Python to write my cgi-scripts in order to access a Microsoft
SQL server through an applet , using the odbc module included in the
win-32 extensions. I'm experiencing a problem . When accesing text data
type  ( english characters ) everything works fine , but when acesing
text ( greek chracters e.g) python returns numbers instead of characters
. I suppose this happens because Python tries to convert the data types
returned by the SQL server to its own objects and when dealing with
greek characters cannot do the appropriate mapping . Is there anyway to
workaround this problem?

Any help will be greatly appreciated

More information about the Python-list mailing list