Non-unicode strings & Python.

Jonathon Blake jonathon.blake at gmail.com
Mon Aug 30 23:08:24 EDT 2004


All:

Question

Python is currently Unicode Compliant.

What happens when strings are read in from text files that were
created using  GB 2312-1980, or KPS 9566-2003, or other, equally
obscure code ranges?

The idea is to read text in the file format, and replace it with the
appropriate Unicode character,then write it out as a new text file. 
[Trivial to program, but incredibly time consuming to actually code]

xan

jonathon
-- 
Goto http://graphology.meetup.com for information about International
Graphology Meetup Day



More information about the Python-list mailing list