A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-December/083894.html below:

[Python-Dev] Python-3.0, unicode, and os.environ

[Python-Dev] Python-3.0, unicode, and os.environTerry Reedy tjreedy at udel.edu
Fri Dec 5 02:16:55 CET 2008
Toshio Kuratomi wrote:
>
>> I would think life would be ultimately easier if either the file server
>> or the shell server automatically translated file names from jis and
>> utf8 and back, so that the PATH on the *nix shell server is entirely
>> utf8.
> 
> This is not possible because no part of the computer knows what the
> encoding is.  To the computer, it's just a sequence of bytes.  Unlike
> xml or the windows filesystem (winfs? ntfs?) where the encoding is
> specified as part of the document/filesystem there's nothing to tell
> what encoding the filenames are in.

I thought you said that the file server keep all filenames in shift-jis, 
and the shell server all in utf-8.  If so, then the shell server could 
know if it were told so.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4