diff options
Diffstat (limited to 'Tools/unicode/comparecodecs.py')
-rw-r--r-- | Tools/unicode/comparecodecs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/unicode/comparecodecs.py b/Tools/unicode/comparecodecs.py index 0f5c1e2..01303db 100644 --- a/Tools/unicode/comparecodecs.py +++ b/Tools/unicode/comparecodecs.py @@ -30,7 +30,7 @@ def compare_codecs(encoding1, encoding2): mismatch += 1 # Check decoding for i in range(256): - c = chr(i) + c = bytes([i]) try: u1 = c.decode(encoding1) except UnicodeError: |