[fxruby-users] FXRuby1.6.5 ?

gga ggarra at advancedsl.com.ar
Wed Feb 7 13:23:56 EST 2007

>> require 'iconv'
>> button = FXButton.new(p, Iconv.new("iso-8859-8",
>> "utf-8").iconv(original_russian_text), ...)
Actually, Lyle, is the other way around.  Iconv is unintuitively using
Iconv.new( to, from ), like:

button = FXButton.new(p, Iconv.new("utf-8",
"iso-8859-8").iconv(original_russian_text), ...)

Using iconv is much faster (and easier) than packing/unpacking data as
Ernest suggests.

Gonzalo Garramuño
ggarra at advancedsl.com.ar

AMD4400 - ASUS48N-E
Kubuntu Edgy

More information about the fxruby-users mailing list