fixed GH #1549: Latin2Encoding and 0xFF

This commit is contained in:
Guenter Obiltschnig 2017-02-11 12:27:33 +01:00
parent f88eaabcea
commit 6c207b5157

View File

@ -157,6 +157,7 @@ int Latin2Encoding::convert(int ch, unsigned char* bytes, int length) const
case 0x016f: if (bytes && length >= 1) *bytes = 0xf9; return 1;
case 0x0171: if (bytes && length >= 1) *bytes = 0xfb; return 1;
case 0x0163: if (bytes && length >= 1) *bytes = 0xfe; return 1;
case 0x02d9: if (bytes && length >= 1) *bytes = 0xff; return 1;
default: return 0;
}
}