functionalscript 0.0.378 → 0.0.381
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/text/encoding/README.md +6 -4
package/package.json
CHANGED
package/text/encoding/README.md
CHANGED
|
@@ -37,10 +37,10 @@ Total error states:
|
|
|
37
37
|
|[d,] |1111_0xxx | 3 bit| |
|
|
38
38
|
|[c,] |1110_xxxx | 4 bit| |
|
|
39
39
|
|[b,] |110x_xxxx | 5 bit| |
|
|
40
|
-
|[e] |10xx_xxxx | 6 bit|
|
|
41
|
-
|[d,c,] |1111_0xxx 10xx_xxxx | 9 bit|
|
|
42
|
-
|[c,b,] |1110_xxxx 10xx_xxxx |10 bit|
|
|
43
|
-
|[d,c,b,] |1111_0xxx 10xx_xxxx 10xx_xxxx|15 bit|
|
|
40
|
+
|[e] |10xx_xxxx | 6 bit|0000_0000 1xxx_xxxx|
|
|
41
|
+
|[d,c,] |1111_0xxx 10xx_xxxx | 9 bit|0000_001x xxxx_xxxx|
|
|
42
|
+
|[c,b,] |1110_xxxx 10xx_xxxx |10 bit|0000_01xx xxxx_xxxx|
|
|
43
|
+
|[d,c,b,] |1111_0xxx 10xx_xxxx 10xx_xxxx|15 bit|1xxx_xxxx xxxx_xxxx|
|
|
44
44
|
|
|
45
45
|
```js
|
|
46
46
|
/** @type {(input: List<u8|undefined>) => List<i32>} */
|
|
@@ -88,3 +88,5 @@ const stringToUtf16List
|
|
|
88
88
|
/** @type {(input: List<u16>) => string} */
|
|
89
89
|
const utf16ListToString
|
|
90
90
|
```
|
|
91
|
+
|
|
92
|
+
UTF-16 => CP => UTF-9 => CP = UTF-16
|