Exended ASCII and code pages [was Re: for / while else doesn't make sense]

Chris Angelico rosuav at gmail.com
Wed May 25 06:30:55 EDT 2016


On Wed, May 25, 2016 at 8:19 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> While the code page system was necessary at
> the time, the legacy of them today continues to plague computer users, causing
> moji-bake, errors on file systems[1], and holding back the adoption of Unicode.
>
> [1] I'm speaking from experience there. Take files created on a Windows machine
> using some legacy code page, and try to copy them to another server using
> Unicode, and depending on the intelligence of the server, you may not be able
> to copy them. On the flip side, there are many file names I can easily create
> on Linux but cannot copy to a FAT file system.

And getting a .zip file from a Windows user that had a file in it
called "Café Sounds.something", extracting it on Linux, and finding it
called "Caf\xe9" or something. Very annoying. Fortunately it was only
the one file in a large directory.

ChrisA



More information about the Python-list mailing list