Message163227
| Author |
ekontsevoy |
| Recipients |
ekontsevoy |
| Date |
2012年06月19日.22:18:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340144328.26.0.0393319745323.issue15109@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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]) |
|
History
|
|---|
| 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 |
|