Issue #1407 - forgot to strip unused escapes from ISO 6937.
This commit is contained in:
parent
8a48fe8214
commit
44628138d4
1 changed files with 1 additions and 4 deletions
|
@ -132,10 +132,7 @@ static inline size_t conv_6937(const uint8_t *src, size_t srclen,
|
||||||
(*dstlen)--;
|
(*dstlen)--;
|
||||||
dst++;
|
dst++;
|
||||||
} else if (c <= 0x9f) {
|
} else if (c <= 0x9f) {
|
||||||
// codes 0x80 - 0x9f (control codes) are mapped to ' '
|
// codes 0x80 - 0x9f (control codes) are ignored
|
||||||
*dst = ' ';
|
|
||||||
(*dstlen)--;
|
|
||||||
dst++;
|
|
||||||
} else {
|
} else {
|
||||||
uint16_t uc;
|
uint16_t uc;
|
||||||
if (c >= 0xc0 && c <= 0xcf) {
|
if (c >= 0xc0 && c <= 0xcf) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue