[issue24339] iso6937 encoding missing

John Helour report at bugs.python.org
Fri Nov 25 17:35:21 EST 2016


John Helour added the comment:

@mdk

Big thanks for the checker.

>Looks like your implementation is missing some codepoints, like "\t":
>
>    >>> >print("\t".encode(encoding='iso6937'))                                                    
>    [...]
>    UnicodeError: encoding with 'iso6937' codec failed (UnicodeError: Unacceptable utf-8 character)

The '\t'  character is undefined in the iso6937 table, like all chars within the range 0x00 - 0x1F. I don't know how to handle such input for conversion.

----------

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


More information about the Python-bugs-list mailing list