[MacRuby-devel] [MacRuby] #700: Escaped Unicode chars in hex are not recogized

MacRuby ruby-noreply at macosforge.org
Fri May 7 06:19:05 PDT 2010


#700: Escaped Unicode chars in hex are not recogized
----------------------------+-----------------------------------------------
 Reporter:  jazzbox@…       |       Owner:  lsansonetti@…        
     Type:  defect          |      Status:  new                  
 Priority:  major           |   Milestone:  MacRuby 0.7          
Component:  MacRuby         |    Keywords:  unicode              
----------------------------+-----------------------------------------------
 {{{
 $ macruby_select 0.7 -e 'p "R\xfcbe"'
 "R\xFCbe"
 }}}

 0.5 does it correct:

 {{{
 $ macruby_select 0.5 -e 'p "R\xfcbe"'
 "Rübe"
 }}}

 hex ASCII works:

 {{{
 $ macruby_select 0.7 -e 'p "R\x61be"'
 "Rabe"
 }}}

 and Unicode code point works too:

 {{{
 macruby_select 0.7 -e 'p "R\u00fcbe"'
 "Rübe"
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/700>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list