Ruby/Development/Unicode
Материал из Wiki.crossplatform.ru
(Различия между версиями)
ViGOur (Обсуждение | вклад) м (1 версия: Импорт выборки материалов по Ruby) |
Текущая версия на 17:55, 13 сентября 2010
Converting From One Encoding to Another
require "iconv" input_encoding = "windows-1252" output_encoding = "utf-8" converted_doc = Iconv.new(output_encoding, input_encoding).iconv("asdf")