56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
-
+
-
+
|
static const unsigned char page20[] = {
0xA4
};
static const uint8_t page20Start = 0xAC;
bool
of_unicode_to_iso_8859_15(const of_unichar_t *input, unsigned char *output,
of_unicode_to_iso_8859_15(const OFUnichar *input, unsigned char *output,
size_t length, bool lossy)
{
for (size_t i = 0; i < length; i++) {
of_unichar_t c = input[i];
OFUnichar c = input[i];
if OF_UNLIKELY (c > 0x7F) {
uint8_t idx;
if OF_UNLIKELY (c > 0xFFFF) {
if (lossy) {
output[i] = '?';
|