Skip to content

Instantly share code, notes, and snippets.

@xaicron
Created February 21, 2010 13:49
Show Gist options
  • Save xaicron/310323 to your computer and use it in GitHub Desktop.
Save xaicron/310323 to your computer and use it in GitHub Desktop.
> perl -MWin32::Unicode::Native -e "print Encode::decode cp932 => shift" ほげ
ほげ
> echo hoge > hoge.txt 2>&1
> perl -MWin32::Unicode::Native -e "print Encode::decode cp932 => shift" ほげ
縺サ縺
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment