encoding problem

N

netpork

Hello,

I have ssl socket with server and client, on my development machine
everything works pretty well.
Database which I have to use is mssql on ms server 2003, so I decided
to install the same python config there and run my python server
script.

Now here is the problem, server is returning strange characters
although default encoding is the same on both development and server
machines.


Any hints?

Thanks in advance.
 
P

Piet van Oostrum

netpork said:
n> Hello,
n> I have ssl socket with server and client, on my development machine
n> everything works pretty well.
n> Database which I have to use is mssql on ms server 2003, so I decided
n> to install the same python config there and run my python server
n> script.
n> Now here is the problem, server is returning strange characters
n> although default encoding is the same on both development and server
n> machines.

n> Any hints?

Yes, read http://catb.org/esr/faqs/smart-questions.html
 
D

dejan todoroviæ

It was problem with pymssql that not supports unicode, switched to
pyodbc, everything is fine.

Thanks for your swift reply. ;)
 

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

Forum statistics

Threads
474,201
Messages
2,571,051
Members
47,656
Latest member
rickwatson

Latest Threads

Top