File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
supervisor/shared/translate Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 38
38
// 9 in some translations sometime in the future. This length excludes
39
39
// the trailing NUL, though notably decompress_length includes it.
40
40
//
41
- // - followed by the huffman encoding of the individual UTF-16 code
41
+ // - followed by the huffman encoding of the individual code
42
42
// points that make up the string. The trailing "\0" is not
43
43
// represented by a huffman code, but is implied by the length.
44
44
// (building the huffman encoding on UTF-16 code points gave better
45
45
// compression than building it on UTF-8 bytes)
46
46
//
47
+ // - If possible, the code points are represented as uint8_t values, with
48
+ // 0..127 representing themselves and 160..255 representing another range
49
+ // of Unicode, controlled by translation_offset and translation_offstart.
50
+ // If this is not possible, uint16_t values are used. At present, no translation
51
+ // requires code points not in the BMP, so this is adequate.
52
+ //
47
53
// - code points starting at 128 (word_start) and potentially extending
48
54
// to 255 (word_end) (but never interfering with the target
49
55
// language's used code points) stand for dictionary entries in a
You can’t perform that action at this time.
0 commit comments