26 May
2011
26 May
'11
2:43 p.m.
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: b1f457a7533d27cc2945f0472d19583811aa32d7 https://github.com/MacRuby/MacRuby/commit/b1f457a7533d27cc2945f0472d19583811... Author: Vincent Isambart <vincent.isambart@gmail.com> Date: 2011-05-26 (Thu, 26 May 2011) Changed paths: M string.c Log Message: ----------- fix #1295, splice! was not resetting the flags indicating if the string was pure ASCII It also fixes the following bug: ./miniruby -e 'framework "Cocoa"; puts NSString.stringWithString("あ")' -e:1:in `<main>': cannot coerce NSString 0x200ad43a0 as UTF-8 data (ArgumentError) that was due to passing an incorrect parameter to CFStringGetLength