Thanks for the replies.

I recreated hello.rb in Scite and the program worked. I have read about 
UTF8 encoding and ruby, but had not ran into it before, and I didn't not 
know what the symbols in front of the hello.rb text meant (see VS error 
message). So thanks for the help.

Tomas: I was using IronRuby 1.0.0.0 but had just downloaded IronRuby 
1.1.1. However, I originally created the file in SharpDevelop and have 
been creating IronRuby programs in SharpDevelop with no issue (running 
in SD Debug), until I tried to call this ruby file from C#.  So I still 
don't quite understand why ruby works one way and not the other, but 
that seems to be a SharpDevelop issue/setting. I am pretty sure 
SharpDevelop is running IronRuby 1.0.0.0. After I couldn't get it to 
work I tried it again in Visual Studio which I
assume also called IronRuby 1.0.0.0. since I still had that version 
installed and my files associated with that version.

Last, Now that IronRuby supports the UTF8 encoding, should my files be 
encoded that way? Or now does it just not matter which encoding I use? 
and does C# have to be encoded UTF8?

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to