Python documentation contains an article, on use of various encodings in text files. What it really lacks - is an example of how to quickly integrate this knowledge into existing infrastructure.
In the following example we load an .xml file saved as UTF-16, then do some processing,
and save it as UTF-8 with BOM.
No comments:
Post a Comment