Skip to content

fix(convert): handle Unicode aliases for CP932 mapping differences - #67

Merged
polygonplanet merged 3 commits into
masterfrom
fix/cp932-unicode-aliases
Sep 8, 2026
Merged

fix(convert): handle Unicode aliases for CP932 mapping differences#67
polygonplanet merged 3 commits into
masterfrom
fix/cp932-unicode-aliases

Conversation

@polygonplanet

Copy link
Copy Markdown
Owner
  • feat(convert): add Unicode aliases for CP932 mapping differences (3f4c428)
  • refactor: rename internal option ignoreSurrogatePair to asCodePoint in UTF8ToUNICODE (9e6ecfc)
  • fix(convert): fallback on invalid SJIS trail byte 0x7F (b848595)

- Move encode-only aliases into the alias table and remove
  the invalid JIS X 0212 mapping
- Fix U+301C being encoded as the 3-byte JIS X 0212 form in
  EUC-JP and JIS
- Refactor UTF8ToEUCJP and UTF8ToJIS
@polygonplanet
polygonplanet merged commit 6f542af into master Sep 8, 2026
18 checks passed
@polygonplanet
polygonplanet deleted the fix/cp932-unicode-aliases branch September 8, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant