puts GLib.charset puts GLib.convert("ほげ", "utf-8", "euc-jp") #str, to, from puts GLib.locale_to_utf8("ふが") puts GLib.locale_from_utf8("utf8 string")
- Linuxビボ〜ろく 2003-06-18
http://ponx.s5.xrea.com/bibo/20030618.html
puts GLib.charset puts GLib.convert("ほげ", "utf-8", "euc-jp") #str, to, from puts GLib.locale_to_utf8("ふが") puts GLib.locale_from_utf8("utf8 string")
- Linuxビボ〜ろく 2003-06-18
http://ponx.s5.xrea.com/bibo/20030618.html