Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Add a new "locale" codec?

"Martin v. Löwis"martin at v.loewis.de
Fri Feb 10 10:50:38 CET 2012


> As And pointed out, this is already the behaviour of the "mbcs" codec> under Windows. "locale" would be the moral (*) equivalent of that under> Unix.Indeed, and that precedent should be enough reason *not* to include a"locale" encoding. The "mbcs" encoding has caused much user confusionover the years, and it is less useful than people typically think. Forexample, for some time, people thought that names in zip files ought tobe encoded in "mbcs", only to find out that this is incorrect yearslater. With a "locale" encoding, the risk for confusion and untestablecode is too high (just consider the ongoing saga of the Turkish dotlessi (ı)).Regards,Martin


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp