I think you've simply found a bug, which you might want to enter into Trac.
Interestingly, this construct does not work on ruby1.9 either, the error being:
mixedchars.rb:4: invalid multibyte char (US-ASCII)
So you might want to adopt a more Unicode-friendly way of embedding such
characters in any case. How to actually do that is left as an exercise for the
reader. ;-)
- Jordan
On Mar 16, 2010, at 7:32 PM, Robert Rice wrote:
> After loading the latest nightly build I have a new error message generated
> by the following string:
>
> "#{degrees}° #{minutes}' #{seconds}\""
>
> returns:
>
> incompatible character encodings: US-ASCII and UTF-8
>
> Is there something I can change so that I can use special characters again?
>
> Bob Rice
>
>
> _______________________________________________
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel