I would highly encourage that you use utf8mb4 instead of utf8

http://dev.mysql.com/doc/refman/5.5/en/charset-unicode-utf8mb4.html

On Thursday, January 30, 2014 7:57:40 AM UTC-8, Jeff Dairiki wrote:
>
>
>
> On Thursday, January 30, 2014 6:11:15 AM UTC-8, Alexander Peprepelica 
> wrote:
>>
>> I have such code
>>
>> engine = create_engine(u'mysql+mysqldb://
>> login:pass@127.0.0.1:3307/mydb?charset=utf8&use_unicode=1')
>>
>> in windows all is fine
>>
>> But when I execute code in linux I have problem with unicode
>> What I do wrong?
>>
>>
> Can you be more specific as to what problem you are having?
>
> Not having much to go on my first guess is: What version of MySQLdb 
> (mysql-python) are you using?
> Current is 1.2.5.  If you're using a distribution-installed version what 
> you have may be quite a bit older.
> You probably want at least 1.2.3 (which fixed a memory leak having to do 
> with the handling of unicode
> values.)
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to