functionalscript 0.0.381 → 0.0.384

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "functionalscript",
3
- "version": "0.0.381",
3
+ "version": "0.0.384",
4
4
  "description": "FunctionalScript is a functional subset of JavaScript",
5
5
  "main": "module.f.cjs",
6
6
  "scripts": {
@@ -89,4 +89,26 @@ const stringToUtf16List
89
89
  const utf16ListToString
90
90
  ```
91
91
 
92
- UTF-16 => CP => UTF-9 => CP = UTF-16
92
+ UTF-16 => CP => UTF-8 => CP = UTF-16
93
+
94
+ ## Example
95
+
96
+ - UTF-16:
97
+ - 1101_11xx_xxxx_xxxx
98
+ - 1101_11xx_xxxx_xxxx
99
+ - CP:
100
+ - 1000_0000_0000_0000_1101_11xx_xxxx_xxxx
101
+ - 1000_0000_0000_0000_1101_11xx_xxxx_xxxx
102
+ - UTF-8:
103
+ - 1111_0.101
104
+ - 10.11_xxxx
105
+ - 10xx_xxxx
106
+ - 1111_0.101
107
+ - 10.11_xxxx
108
+ - 10xx_xxxx
109
+ - CP:
110
+ - 1000_0000_0000_0000_1101_11xx_xxxx_xxxx
111
+ - 1000_0000_0000_0000_1101_11xx_xxxx_xxxx
112
+ - UTF-16:
113
+ - 1101_11xx_xxxx_xxxx
114
+ - 1101_11xx_xxxx_xxxx