Skip to content

Instantly share code, notes, and snippets.

@koichiro
Created September 9, 2011 05:30
Show Gist options
  • Save koichiro/1205548 to your computer and use it in GitHub Desktop.
Save koichiro/1205548 to your computer and use it in GitHub Desktop.
jruby --1.9 -rnkf -e 'p NKF.nkf("-s", "a").encoding'
#<Encoding:Windows-1251>
ruby1.9.1 -rnkf -e 'p NKF.nkf("-s", "a").encoding'
#<Encoding:Shift_JIS>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment