I fixed the problem in r3784 (I believe). But as Vincent said, trunk is under heavy development at the moment, so please wait a bit until things get more stable (should be better by the end of the week). Laurent On Mar 17, 2010, at 1:31 AM, Vincent Isambart wrote:
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. ;-) In 1.9 you need to specify the encoding on the first line of the file: (the default is ASCII that does not include the degree ° character) # encoding: utf-8 In MacRuby currently it's always UTF-8.
Anyway Laurent just merged the ICU branch and the work on strings is not finished. I'd recommend trying again in a few days. _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel