[issue17254] add thai encoding aliases to encodings.aliases

Marc-Andre Lemburg report at bugs.python.org
Wed Feb 20 13:22:21 CET 2013


Marc-Andre Lemburg added the comment:

On 20.02.2013 12:48, albertjan wrote:
> 
> New submission from albertjan:
> 
> This is almost identical to: http://bugs.python.org/issue854511
> However, tis602, which is mentioned in the orginal bug report, is not an alias to cp874. Therefore, I propose the following:
> 
> import encodings
> 
> aliases = encodings.aliases.aliases
> more_aliases = {'ibm874'     : 'cp874',
>                 'iso_8859_11': 'cp874',
>                 'iso8859_11' : 'cp874',
>                 'windows_874': 'cp874',
>                }
> aliases.update(more_aliases)

Please provide evidence that those encodings are indeed the same.

Thanks,
-- 
Marc-Andre Lemburg
eGenix.com

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17254>
_______________________________________


More information about the Python-bugs-list mailing list