waterbear
waterbear copied to clipboard
Support Shift JIS in string literals
When assembling a string literal, convert to Shift JIS before emitting bytes.
When disassembling, try to detect strings encoded as Shift JIS, and convert them to UTF-8 before emitting string literals.
This might support the needed conversions: https://github.com/lifthrasiir/rust-encoding