py-mysql2pgsql icon indicating copy to clipboard operation
py-mysql2pgsql copied to clipboard

can't encode characters

Open XiaodiKong opened this issue 9 years ago • 1 comments

File "/usr/local/lib/python2.7/site-packages/mysql2udw-0.1.6-py2.7.egg/mysql2pgsql/lib/postgres_writer.py", line 152, in table_comment return (' COMMENT ON TABLE %s is %s;' % ( tablename, QuotedString(comment).getquoted())) UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-3: ordinal not in range(256)

XiaodiKong avatar Jul 29 '16 06:07 XiaodiKong

Please add a test case to reproduce.

kworr avatar Sep 23 '17 19:09 kworr