[fxruby-users] Unicode support in FXRuby 1.6

Sander Jansen sander at knology.net
Fri Sep 2 21:11:16 EDT 2005

> That's all I could get to happen.  So you can store Unicode strings with
> the '\x' escape code, but you have to type in the UTF or Japanese encoded
> bytes manually (no u'Unicode String' like in Python) and ruby doesn't
> really know the difference.  

Can't you store the ruby scripts as UTF8 encoded text files? Or will the ruby 
interperter struggle with that?

> There are some string utilities in the jcode 
> module, and jcode also alludes to a PATTERN_UTF8 option which allows you
> to use Regexps with Unicode but it wasn't defined for me.  

> There is also 
> an 'iconv' module which allows you to convert between character sets, but
> it is just a wrapper around a unix utility and is not available for me on
> Windows XP.

FOX has several text codecs already buildin.


More information about the fxruby-users mailing list