Pickling russian strings
Martin v. Loewis
martin at v.loewis.de
Thu Aug 15 15:22:32 EDT 2002
ypoi at spray.se (DR) writes:
> I have some lists whith russian text I need to save to file. When
> saving with pickle's dump() method the encoding gets f-ked up (\u0444
> becomes \xe4 for example). I need to find a way to save data
> structures containing russian text with pickle or something similar.
> Please help me, someone!
As Robert explains: pickle does not do such things. If you see Unicode
objects being changed, it must have a different cause. Can you post
some source code that demonstrates the problem?
Regards,
Martin
More information about the Python-list
mailing list