Differences From Artifact [29dee94013]:
- File src/encodings/codepage_858.m — part of check-in [db5cf4d595] at 2017-02-12 22:33:17 on branch trunk — More efficient UTF-8 -> Codepage 858 conversion (user: js, size: 5575) [annotate] [blame] [check-ins using]
To Artifact [b4148204c6]:
- File
src/encodings/codepage_858.m
— part of check-in
[405d11522e]
at
2017-02-12 23:56:13
on branch trunk
— encodings: Make the page tables unsigned char[]
This also removes page.*Size, as the macros can just use sizeof() on the
arrays. (user: js, size: 5341) [annotate] [blame] [check-ins using]
︙ | |||
38 39 40 41 42 43 44 | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | - + - - + - - + | 0x00AD, 0x00B1, 0x2017, 0x00BE, 0x00B6, 0x00A7, 0x00F7, 0x00B8, 0x00B0, 0x00A8, 0x00B7, 0x00B9, 0x00B3, 0x00B2, 0x25A0, 0x00A0 }; const size_t of_codepage_858_table_offset = 256 - (sizeof(of_codepage_858_table) / sizeof(*of_codepage_858_table)); |
︙ | |||
83 84 85 86 87 88 89 | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | - - + | 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, 0x00, 0x00, 0xD5 }; static const uint8_t page20Start = 0x17; |
︙ | |||
109 110 111 112 113 114 115 | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | - | 0xDF, 0x00, 0x00, 0x00, 0xDC, 0x00, 0x00, 0x00, 0xDB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xB1, 0xB2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFE }; static const uint8_t page25Start = 0x00; |
︙ |