Hello,

I've started a new project in Ruby. For once, my sourcecode is not in
English, but in French, and I'd like to know if its possible to have
accentuated letters for function names in the sourcecode.

I have encoded my file in UTF-8 and it is parsed fine on Linux, but on
Windows, I get warnings and errors:
main.rb:16: Invalid char `\303' in expression

Also, the accents do not display properly in the error messages:
main.rb:34: syntax error, unexpected tFID, expecting '\n' or ';'
  def appr???®cie?(voisin)
(instead of "apprécie?(voisin)")

Is there a way to specify sourcefile encoding? I could drop the accents
in the source, but they make the code much more readable!

Thanks.
-- 
Posted via http://www.ruby-forum.com/.