Commit 8e6be14
committed
Fix problem with CP949 conversion when 0xC9 precedes byte lower than 0xA1
This bug was introduced in e837a88. In that commit, I increased the
performance of CP949 text conversion, but accidentally broke the case
where 0xC9 (illegal byte to start a character) is followed by a valid
character with a first byte less than 0xA1. The 'broken' behavior is
that both the 0xC9 byte and the following valid character would be
converted to error markers.1 parent f337c92 commit 8e6be14
File tree
2 files changed
+10
-9
lines changed- ext/mbstring
- libmbfl/filters
- tests
2 files changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10224 | 10224 | | |
10225 | 10225 | | |
10226 | 10226 | | |
10227 | | - | |
10228 | | - | |
10229 | | - | |
10230 | | - | |
10231 | | - | |
10232 | | - | |
10233 | | - | |
10234 | | - | |
10235 | | - | |
10236 | 10227 | | |
10237 | 10228 | | |
| 10229 | + | |
| 10230 | + | |
| 10231 | + | |
| 10232 | + | |
| 10233 | + | |
10238 | 10234 | | |
10239 | 10235 | | |
10240 | 10236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
0 commit comments