Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Unicode

Thread Tools

Re: Unicode

Dave Angel
Posts: n/a
On 12/16/2012 04:10 PM, Anatoli Hristov wrote:
> Hello guys,
> I'm using Linux CentOS and Python 2.4 with MySQL 5.xx, I get error
> with Unicode I tried many things that I found on the net but none of
> them working.
> If I dont use UTF-8 it inserts the data into the DB but some French
> char. are not correctly decoded. Could you please help me ?

Thanks for describing your system, and for using plain text in your message.

But the program you supplied is missing quite a bit, starting with the
imports. And you say nothing at all about the error you get.

You should include a full traceback of whatever error you're getting,
along with information about how you got there.

I don't see any place there which is dealing with unicode, except for
the part which is commented out. Hard to get an error on those lines.



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: os.lisdir, gets unicode, returns unicode... USUALLY?!?!? Jean-Paul Calderone Python 23 11-21-2006 10:25 AM
os.lisdir, gets unicode, returns unicode... USUALLY?!?!? gabor Python 13 11-18-2006 09:23 AM
Unicode digit to unicode string Gabriele *darkbard* Farina Python 2 05-16-2006 01:15 PM
unicode wrap unicode object? ygao Python 6 04-08-2006 09:54 AM
Unicode + jsp + mysql + tomcat = unicode still not displaying Robert Mark Bram Java 0 09-28-2003 05:37 AM