[MacRuby-devel] [MacRuby] #834: Inspecting a string with multibyte characters from an application prints escaped characters
MacRuby
ruby-noreply at macosforge.org
Sat Aug 7 14:14:27 PDT 2010
#834: Inspecting a string with multibyte characters from an application prints
escaped characters
-------------------------------------+--------------------------------------
Reporter: eloy.de.enige@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: interactive-macruby
-------------------------------------+--------------------------------------
When printing these from a running Cocoa app:
{{{
p "いえい"
puts "いえい"
}}}
It comes out like this:
{{{
"\x3044\x3048\x3044"
いえい
}}}
Note that this problem only occurs when ran from a Cocoa app, from the
command-line it prints the characters as expected.
--
Ticket URL: <http://www.macruby.org/trac/ticket/834>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list