Message163227
When calling connection.iterdump() on a database with non-ASCII string values, the following exception is raised:
----------------------------------------------------
File "/python-2.7.3/lib/python2.7/sqlite3/dump.py", line 56, in _iterdump
yield("{0};".format(row[0]))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 48-51: ordinal not in range(128)
----------------------------------------------------
The older versions used the following (safer) version in /python-2.7.3/lib/python2.7/sqlite3/dump.py:56:
yield("%s;" % row[0]) |
|
Date |
User |
Action |
Args |
2012-06-19 22:18:48 | ekontsevoy | set | recipients:
+ ekontsevoy |
2012-06-19 22:18:48 | ekontsevoy | set | messageid: <1340144328.26.0.0393319745323.issue15109@psf.upfronthosting.co.za> |
2012-06-19 22:18:47 | ekontsevoy | link | issue15109 messages |
2012-06-19 22:18:47 | ekontsevoy | create | |
|