UnicodeEncodeError in string conversion

M

Maurice LING

Hi,

I'm working on a script that searches a public database and retrives
results using SOAP interface. However, it seems that the results may
contains unicodes. When I try to pump the results into Firebird database
using kinterbasdb module, some results will give me a
UnicodeEncodeError. From what I've gathered, it looks like the
conversion from the results from SOAP interface to string results in the
error.

Is there any way to get thru this?

Thanks
maurice
 
S

Serge Orlov

Maurice said:
Hi,

I'm working on a script that searches a public database and retrives
results using SOAP interface. However, it seems that the results may
contains unicodes. When I try to pump the results into Firebird database
using kinterbasdb module, some results will give me a
UnicodeEncodeError. From what I've gathered, it looks like the
conversion from the results from SOAP interface to string results in the
error.

Is there any way to get thru this?

Have you read this FAQ entry:
http://kinterbasdb.sourceforge.net/dist_docs/usage.html#faq_fep_unicode
??

Serge.
 

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
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top