Why so rigorous? I understand the need to maintain compatibility but this effectively eliminates Visual Studio as an editor for .rb files, without some kind of clunky build mechanism. I guess I will just use an extension method to get around the behavior for the time being.
>From the things I have read about Ruby and UTF-8, it seems more like it is just extremely broken, rather than extremely tricky. I still cannot even get pure Ruby stuff in Windows to work properly with UTF-8, like when using the Shoes toolkit for example. On Sun, Oct 26, 2008 at 11:52 AM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > We do this for compatibility with Ruby 1.8.6, though as you can see, we don't > have the error message quite right: > > PS F:\> C:\ruby\bin\ruby.exe x.rb > x.rb:1: Invalid char `\377' in expression > x.rb:1: Invalid char `\376' in expression > > :) > > I believe you'll need to save as UTF-8 and then manually strip the BOM in > order to use Unicode source files -- hopefully Tomas will tell me if I'm > wrong. > > Source encoding for Ruby is extremely tricky, and (from what I can tell) > hasn't even yet been finalized for 1.9.x. We will eventually support > whatever the Ruby standards are. _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core