> 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