[MacRuby-devel] [MacRuby] #397: erb string buffer corruption

MacRuby ruby-noreply at macosforge.org
Thu Oct 22 01:14:49 PDT 2009

#397: erb string buffer corruption
 Reporter:  jazzbox@…       |       Owner:  lsansonetti@…        
     Type:  defect          |      Status:  new                  
 Priority:  critical        |   Milestone:  MacRuby 0.5          
Component:  MacRuby         |    Keywords:                       
 $ macruby -r 'erb' -e 'p ERB.new("1234567").result'

 results in

 core:in `eval:': (erb):1: syntax error, unexpected tIDENTIFIER, expecting
 ...''; _erbout.concat "1234567"é        ; _erbout.force_encoding(__EN...
 ...                              ^ (SyntaxError)
         from core:in `result'

 As you can see the erb string is corrupted  with the 'é'.

 This errror looks like Ticket #311 which is closed but still not working!

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

More information about the MacRuby-devel mailing list