[Python-Dev] Improve open() to support reading file starting with an unicode BOM (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Mon Jan 11 18:16:37 CET 2010
- Previous message: [Python-Dev] Improve open() to support reading file starting with an unicode BOM
- Next message: [Python-Dev] Improve open() to support reading file starting with an unicode BOM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
But an autodetect feature is not a codec. Sure it should be reusable, but making it a codec seems to be a weird hack to me.
Well, the existing UTF-16 codec also is an autodetect feature (to detect the endianness), and I don't consider it a weird hack.
Regards, Martin
- Previous message: [Python-Dev] Improve open() to support reading file starting with an unicode BOM
- Next message: [Python-Dev] Improve open() to support reading file starting with an unicode BOM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]