[Python-3000] [Python-Dev] New proposition for Python3 bytes filename issue

Guido van Rossum guido at python.org
Tue Sep 30 15:53:09 CEST 2008


On Mon, Sep 29, 2008 at 11:00 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> Change the default file system encoding to store bytes in Unicode is like
>> introducing a new Python type: <fake Unicode for filename hacks>.
>
> Exactly. Seems like the best solution to me, despite your polemics.

Martin, I don't understand why you are in favor of storing raw bytes
encoded as Latin-1 in Unicode string objects, which clearly gives rise
to mojibake. In the past you have always been staunchly opposed to API
changes or practices that could lead to mojibake (and you had me quite
convinced).

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list