Input

[1]: String
Options
Encoding
fatal
replacement character

Output

[2]: Windows-31J encoded from [1]
[3]: Windows-31J decoded from [2]