#149: String concatenation loses encoding ----------------------------------------+----------------------------------- Reporter: vincent.isambart@gmail.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: critical | Milestone: Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- Concatening strings loses the encoding:[[BR]] a = 'あ'[[BR]] a.encoding # => #<Encoding:Unicode (UTF-16)>[[BR]] (a+a).encoding # => #<Encoding:Western (Mac OS Roman)>[[BR]] ('a'+a).encoding # => #<Encoding:Western (Mac OS Roman)>[[BR]] The encoding should be the same for all 3 (UTF-16). -- Ticket URL: <http://www.macruby.org/trac/ticket/149> MacRuby <http://macruby.org/>