fxruby-users-bounces 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...
Cheers,
---------------
Philippe Lang
Attik System
_______________________________________________
fxruby-users mailing list
fxruby-users rubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/fxruby-users |