[fxruby-users] FXRuby and Unicode

Philippe Lang philippe.lang at attiksystem.ch
Sun Oct 15 16:41:33 EDT 2006

fxruby-users-bounces at rubyforge.org wrote:
> Philippe Lang escribió:
>> Hi,
>> It works fine, thanks. But instead of this program,
> wouldn't it be possible to write a program where your include
> the accents directly in the source coude, just like with other
> languages? 
> You can do just that.  Make sure you use a modern editor that
> saves out Unicode UTF-8 text files (notepad, emacs, etc), not
> iso-8859-1 (Western encoding) text files.
> Alternatively, use the iconv.so module, like, passing the
> result of utf8 strings over to fxruby:
> ...

Thanks, both solutions work just fine! I'm using Komodo as an editor, it is particularly simple to change the encoding of the source files. With UTF-8, all french accents are here...


Philippe Lang
Attik System

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3125 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20061015/e82358ad/attachment.bin 

More information about the fxruby-users mailing list