[MacRuby] #849: MacRuby throws the exception of "Encoding::CompatibilityError" with various cases.
MacRuby
ruby-noreply at macosforge.org
Wed Aug 18 22:12:08 PDT 2010
#849: MacRuby throws the exception of "Encoding::CompatibilityError" with various
cases.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by watson1978@…):
About other failing tests in test_pack.rb, I guess that depend on #742.
Because, the result is not corresponding as follows when running it with
Ruby 1.9 specifying Script Encoding of UTF-8. [[BR]]
Default Encoding is ASCII-8BIT in test_pack.rb so that Script Encoding is
not specified.
{{{
# -*- coding: utf-8 -*-
p "\377\377\377\376".encoding
p [4294967294].pack('N').encoding
}}}
{{{
$ ruby test.rb
#<Encoding:UTF-8>
#<Encoding:ASCII-8BIT>
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/849#comment:6>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list