#149: String concatenation loses encoding
----------------------------------------+-----------------------------------
 Reporter:  vincent.isamb...@…          |        Owner:  lsansone...@…        
     Type:  defect                      |       Status:  closed               
 Priority:  critical                    |    Milestone:  MacRuby 0.5          
Component:  MacRuby                     |   Resolution:  fixed                
 Keywords:                              |  
----------------------------------------+-----------------------------------
Changes (by lsansone...@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.5


Comment:

 Looks good in trunk (for what we actually support...).

 {{{
 $ cat t.rb
 a='あ'
 p a.encoding
 p (a+a).encoding
 p ('a'+a).encoding

 $ ./miniruby  t.rb
 #<Encoding:Unicode (UTF-16)>
 #<Encoding:Unicode (UTF-16)>
 #<Encoding:Unicode (UTF-16)>
 }}}

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to