koi8_u.h (rxvt-unicode-9.26.tar.bz2) | : | koi8_u.h (rxvt-unicode-9.29.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 42 | skipping to change at line 42 | |||
0xa0, 0xa1, 0xa2, 0x00, 0xa5, 0x00, 0x00, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0x00, 0xae, 0xaf, 0xb0, | 0xa0, 0xa1, 0xa2, 0x00, 0xa5, 0x00, 0x00, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0x00, 0xae, 0xaf, 0xb0, | |||
0xb1, 0xb2, 0x00, 0xb5, 0x00, 0x00, 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0x00, 0xbe, 0x00, 0x00, 0x00, | 0xb1, 0xb2, 0x00, 0xb5, 0x00, 0x00, 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0x00, 0xbe, 0x00, 0x00, 0x00, | |||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |||
0x8b, 0x00, 0x00, 0x00, 0x8c, 0x00, 0x00, 0x00, 0x8d, 0x00, 0x00, 0x00, 0x8e, 0x00, 0x00, 0x00, | 0x8b, 0x00, 0x00, 0x00, 0x8c, 0x00, 0x00, 0x00, 0x8d, 0x00, 0x00, 0x00, 0x8e, 0x00, 0x00, 0x00, | |||
0x8f, 0x90, 0x91, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 0x8f, 0x90, 0x91, 0x92, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |||
0x94 | 0x94 | |||
}; | }; | |||
static uint32_t cs_koi8_u_from_unicode (unicode_t unicode) { | static uint32_t cs_koi8_u_from_unicode (unicode_t unicode) { | |||
if (unicode <= 0x007f) return unicode; | if (unicode <= 0x007f) return unicode; | |||
if (unicode == 0x2022) return 0x0095; | if (unicode == 0x2219) return 0x0095; | |||
if (unicode == 0x221a) return 0x0096; | if (unicode == 0x221a) return 0x0096; | |||
if (unicode == 0x2248) return 0x0097; | if (unicode == 0x2248) return 0x0097; | |||
if (unicode == 0x2264) return 0x0098; | if (unicode == 0x2264) return 0x0098; | |||
if (unicode == 0x2265) return 0x0099; | if (unicode == 0x2265) return 0x0099; | |||
if (unicode == 0x2320) return 0x0093; | if (unicode == 0x2320) return 0x0093; | |||
if (unicode == 0x2321) return 0x009b; | if (unicode == 0x2321) return 0x009b; | |||
if (0x00a0 <= unicode && unicode <= 0x00f7) | if (0x00a0 <= unicode && unicode <= 0x00f7) | |||
return koi8_u_f_0[unicode - 0x00a0] == 0 ? NOCHAR : koi8_u_f_0[unicode - 0 x00a0]; | return koi8_u_f_0[unicode - 0x00a0] == 0 ? NOCHAR : koi8_u_f_0[unicode - 0 x00a0]; | |||
if (0x0401 <= unicode && unicode <= 0x0491) | if (0x0401 <= unicode && unicode <= 0x0491) | |||
return koi8_u_f_1024[unicode - 0x0401] == 0 ? NOCHAR : koi8_u_f_1024[unico de - 0x0401]; | return koi8_u_f_1024[unicode - 0x0401] == 0 ? NOCHAR : koi8_u_f_1024[unico de - 0x0401]; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |