Skip to content

Instantly share code, notes, and snippets.

@hrkd
Last active August 29, 2015 13:56
Show Gist options
  • Save hrkd/9248148 to your computer and use it in GitHub Desktop.
Save hrkd/9248148 to your computer and use it in GitHub Desktop.
ワンライナーでsjisをutf-8に変換
perl -MEncode -pe 'Encode::from_to($_,"shiftjis","utf-8");' -i.bak text.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment