How to dump a Python 2.6 dictionary with UTF-8 strings?

W. Martin Borgert debacle at debian.org
Tue Jan 11 20:05:25 EST 2011


On 2011-01-12 00:27, Martin v. Loewis wrote:
> This will work. I doubt you can get it much simpler
> in 2.x; in 3.x, your code will work out of the box
> (with proper syntactical adjustments).

Thanks, this works like a charm. I tried pprint before for this
task and failed. Now I know why :~)



More information about the Python-list mailing list