UnicodeEncodeError in string conversion

Discussion in 'Python' started by Maurice LING, Mar 31, 2005.

  1. Maurice LING

    Maurice LING Guest

    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
     
    Maurice LING, Mar 31, 2005
    #1
    1. Advertising

  2. Maurice LING

    Serge Orlov Guest

    Maurice LING wrote:
    > 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.
     
    Serge Orlov, Mar 31, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bob Swerdlow
    Replies:
    1
    Views:
    557
    Neil Hodgson
    Jul 19, 2005
  2. Francach
    Replies:
    2
    Views:
    36,584
    Diez B. Roggisch
    Nov 6, 2005
  3. erikcw
    Replies:
    3
    Views:
    1,969
    erikcw
    Apr 11, 2007
  4. geoff_ness

    UnicodeEncodeError in Windows

    geoff_ness, Sep 17, 2007, in forum: Python
    Replies:
    2
    Views:
    607
    geoff_ness
    Sep 18, 2007
  5. nikosk
    Replies:
    2
    Views:
    412
    nikosk
    Jun 8, 2008
Loading...

Share This Page