[fxruby-users] FXRuby1.6.5 ?

Ernest Ellingson erne at powernav.com
Tue Feb 6 23:09:28 EST 2007

    This might help you.
It's a message from me in Dec. 2001 to the ruby-talk forumn


You should be able to convert unicode to utf8 using the code snippet 
there.  REXML incorporates that code into its parsers.

Lyle Johnson wrote:
> On Feb 6, 2007, at 7:25 PM, Aleksey wrote:
>> I don't asc how to convert to UTF-8. I have rb-file saved in  
>> 'ISO-8859-5'
>> and it has strings for FXRuby (for menu or window title) in russian.
>> FXRuby renders this strings wrong.
>> FXRuby renders right only if file with this strings in UTF-8.
>> Is there a way to say FXRuby about another 8-bit encoding (not  
>> Latin-1)
>> to render it right?
> Oh, no. The strings that you pass in to FXRuby definitely need to be  
> UTF-8 encoded Unicode. So you will need to convert your strings which  
> are in the Russian codec to UTF-8.
>> And what FXTranslyator does (without FX...Codec-s)?
> I don't know.
> _______________________________________________
> fxruby-users mailing list
> fxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/fxruby-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20070206/fdda75f3/attachment.html 

More information about the fxruby-users mailing list