tolocale(str)
Convert self to locale encoding
# File ext/nkf/lib/kconv.rb, line 128 def tolocale(str) kconv(str, Encoding.locale_charmap) end