Expand description
Re-export of aozora_encoding — Shift_JIS decoding and gaiji
resolution.
Phase 0 of the lex pipeline runs encoding detection first; callers that want to drive encoding without parsing can reach through this module.
Modules§
- gaiji
- Gaiji (外字) resolution — mapping
※[#…、mencode]references to real Unicode characters.
Enums§
- Decode
Error - Errors surfaced by the decode pipeline.
Functions§
- decode_
sjis - Decode a
Shift_JISbyte slice into UTF-8 (NFC normalisation is applied by the caller after decoding). - decode_
sjis_ into - Decode a
Shift_JISbyte slice into the caller-owneddstbuffer. - has_
utf8_ bom - Whether the byte slice carries a UTF-8 BOM (
EF BB BF).