UnicodeEncodeError in string conversion

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Maurice LING

    #1

    UnicodeEncodeError in string conversion

    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
    UnicodeEncodeEr ror. 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
  • Serge Orlov

    #2
    Re: UnicodeEncodeEr ror in string conversion


    Maurice LING wrote:[color=blue]
    > 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[/color]
    database[color=blue]
    > using kinterbasdb module, some results will give me a
    > UnicodeEncodeEr ror. From what I've gathered, it looks like the
    > conversion from the results from SOAP interface to string results in[/color]
    the[color=blue]
    > error.
    >
    > Is there any way to get thru this?[/color]

    Have you read this FAQ entry:

    ??

    Serge.

    Comment

    Working...