Skip to content

Commit d009cff

Browse files
committed
doc: add a comment about gb18030 g1-g3 values
1 parent 138c00e commit d009cff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fallback/multi-byte.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,10 @@ const mappers = {
287287
return b + p - a
288288
}
289289

290+
// g1 is 0 or 0x81-0xfe
291+
// g2 is 0 or 0x30-0x39
292+
// g3 is 0 or 0x81-0xfe
293+
290294
const pushback = []
291295
const bytes = (b) => {
292296
if (g3) {

0 commit comments

Comments
 (0)