[MacRuby-devel] [MacRuby] #772: Assertion fails with 4 bytes UTF-8.

MacRuby ruby-noreply at macosforge.org
Tue Jul 6 14:41:04 PDT 2010


#772: Assertion fails with 4 bytes UTF-8.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  vincent.isambart@…        
     Type:  defect                |      Status:  new                       
 Priority:  blocker               |   Milestone:                            
Component:  MacRuby               |    Keywords:                            
----------------------------------+-----------------------------------------
Changes (by lsansonetti@…):

  * owner:  lsansonetti@… => vincent.isambart@…


Comment:

 Looks like we properly encode the sequence, so I guess it's a bug
 somewhere else.

 {{{
 $ macruby -e 'p "\u{010000}".bytes.to_a'
 [240, 144, 128, 128]
 $ ruby1.9 -e 'p "\u{010000}".bytes.to_a'
 [240, 144, 128, 128]
 }}}

 Vincent do you have an idea?

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/772#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list