Re: [Ironruby-core] Unicode Source Files

2008-10-26 Thread Tomas Matousek
You can switch to 1.9 compat mode by passing -19 argument on command line. Tomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Milker Sent: Sunday, October 26, 2008 1:57 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Unicode Source

Re: [Ironruby-core] Unicode Source Files

2008-10-26 Thread Ted Milker
On Sun, Oct 26, 2008 at 3:17 PM, Jim Deville <[EMAIL PROTECTED]> wrote: > > If you are able to solve this with an extension method, then it looks likely > that any VS integration work for IRb will take care of that. As it is, I use > GVim for most of my Ruby coding these days. :) I use ViEmu for

Re: [Ironruby-core] Unicode Source Files

2008-10-26 Thread Curt Hagenlocher
ruby-core@rubyforge.org Subject: Re: [Ironruby-core] Unicode Source Files 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

Re: [Ironruby-core] Unicode Source Files

2008-10-26 Thread Jim Deville
ROTECTED]> Sent: October 26, 2008 12:08 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Unicode Source Files Here is the extension method I am using if anyone else is interested: public static object ExecuteUnicodeFile( this ScriptRuntime rt, string filename ) { st

Re: [Ironruby-core] Unicode Source Files

2008-10-26 Thread Ted Milker
Here is the extension method I am using if anyone else is interested: public static object ExecuteUnicodeFile( this ScriptRuntime rt, string filename ) { string rbCode; // OpenText will strip the BOM and keep the Unicode intact using( var rdr = File.OpenText( filename ) ) {

Re: [Ironruby-core] Unicode Source Files

2008-10-26 Thread Ted Milker
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 ha

Re: [Ironruby-core] Unicode Source Files

2008-10-26 Thread Curt Hagenlocher
dards are. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Milker Sent: Sunday, October 26, 2008 9:38 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Unicode Source Files Is the DLR going to be fixed so that it properly supports Unicode sour

[Ironruby-core] Unicode Source Files

2008-10-26 Thread Ted Milker
Is the DLR going to be fixed so that it properly supports Unicode source files or is this an issue with IronRuby? If you attempt to create a new Code File with Visual Studio 2008 and call it test.rb and then execute it with: ScriptRuntime runtime = IronRuby.Ruby.CreateRuntime(); runtime.ExecuteFi