[MacRuby-devel] Strings Differ between Ruby and MacRuby?

Caio Chassot lists at caiochassot.com
Mon Oct 11 12:22:28 PDT 2010


On 2010-10-11, at 16:07 , Shaun August wrote:
> 
> The script works in ruby and I can get both the "\030" and the "\220" values to test true

When in MRI, are you testing in ruby 1.9? This reeks of encoding issues.

> If I have to do a work around is there any way to tell what encodings are being seen by the Macruby loop so I can match them

I assume you know of String#encoding and __ENCODING__?


More information about the MacRuby-devel mailing list