… | |
… | |
37 | 0x94 |
37 | 0x94 |
38 | }; |
38 | }; |
39 | |
39 | |
40 | static uint32_t cs_koi8_u_from_unicode (unicode_t unicode) { |
40 | static uint32_t cs_koi8_u_from_unicode (unicode_t unicode) { |
41 | if (unicode <= 0x007f) return unicode; |
41 | if (unicode <= 0x007f) return unicode; |
42 | if (unicode == 0x2022) return 0x0095; |
42 | if (unicode == 0x2219) return 0x0095; |
43 | if (unicode == 0x221a) return 0x0096; |
43 | if (unicode == 0x221a) return 0x0096; |
44 | if (unicode == 0x2248) return 0x0097; |
44 | if (unicode == 0x2248) return 0x0097; |
45 | if (unicode == 0x2264) return 0x0098; |
45 | if (unicode == 0x2264) return 0x0098; |
46 | if (unicode == 0x2265) return 0x0099; |
46 | if (unicode == 0x2265) return 0x0099; |
47 | if (unicode == 0x2320) return 0x0093; |
47 | if (unicode == 0x2320) return 0x0093; |