| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -207,5 +207,7 @@ Documentation | |||
| 207 | 207 | Tools/Demos | |
| 208 | 208 | ----------- | |
| 209 | 209 | ||
| 210 | + - Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka. | ||
| 211 | + | ||
| 210 | 212 | ||
| 211 | 213 | **(For information about older versions, consult the HISTORY file.)** | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,7 +30,7 @@ def compare_codecs(encoding1, encoding2): | |||
| 30 | 30 | mismatch += 1 | |
| 31 | 31 | # Check decoding | |
| 32 | 32 | for i in range(256): | |
| 33 | - c = chr(i) | ||
| 33 | + c = bytes([i]) | ||
| 34 | 34 | try: | |
| 35 | 35 | u1 = c.decode(encoding1) | |
| 36 | 36 | except UnicodeError: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments