String#convert
参考资料:libconvRUBY 代码
classString
ICONV = "iconv.dll"
Iconv_open = Win32API.new(ICONV, 'libiconv_open', 'PP', 'L')
Iconv_close = Win32API.new(ICONV, 'libiconv_close', 'L', 'L')
Iconv_do = Win32API.new(ICONV, 'libiconv', 'LPPPP', 'L')
def convert(dst_charset, src_charset = 'UTF-8')
dst_str = "\0" * (self.size
页:
[1]