[sqlalchemy] Re: unable to add unicode characters such as ('軟件開發人員') to mysql database using sqlalchemy

2014-02-21 Thread Kin
Thousands Apologies Michael. I tried to add your code to mine instead of doing the reverse, and it miserably failed. i did the reverse and it worked. Thanks a lot for your help! -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe fro

[sqlalchemy] Re: unable to add unicode characters such as ('軟件開發人員') to mysql database using sqlalchemy

2014-02-21 Thread Kin
The python version is: 2.7.3 And while attempting to commit my change, this is the error message I obtained: *UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-5: ordinal not in range(256)* I actually did obtain that a couple of time while trying to send a unicode stri