Encodign issue in Python 3.3.1 (once again)

Chris Angelico rosuav at gmail.com
Sun May 26 17:44:57 EDT 2013


On Mon, May 27, 2013 at 7:26 AM, Νίκος Γκρ33κ <nikos.gr33k at gmail.com> wrote:
> No thi is not a mysql issue becaus ei have this line above for storing and retrieval form database.
>
> con = pymysql.connect( db = 'metrites', host = 'localhost', user = 'me', passwd = 'somepass', init_command='SET NAMES UTF8' )

Research MySQL and UTF-8, then see how your command is actually
flawed. Then research ESR and asking questions the smart way, and see
how your post is also flawed.

ChrisA



More information about the Python-list mailing list