I am searching for the way to convert the hexadecimal value of Shift-JIS to the character in Unix/Linux command line.
A Shift-JIS code table can be found here.
For:
82 ae (0x82ae)
I would expect:
ぐ
I know it’s somehow possible with ascii2uni
and nkf
but I’m kind of stuck.
NOTE: I could do this but it is not the expected result:
echo "0x82BE" | ascii2uni -a X | nkf -S
Result is: 1 token converted
闃セ
I found this thread that suggests using iconv
but ended up with the same results using that method?
Can you folks help?
iconv
recipe should have converted Shift-JIS to UTF-8. Did it display as 闃セ? What terminal program are you using?