#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@…): It seems to be a issue of pack so that I collected the test cast of pack/unpack to be related. {{{ $ macruby test_pack.rb Loaded suite test_pack Started FFFFFFFFFFFFF Finished in 1.045697 seconds. 1) Failure: test_pack(TestArray) [/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/lib/ruby/1.9.2/minitest/unit.rb:670]: <"\x86"> (UTF-8) expected but was <"\x86"> (ASCII-8BIT). 2) Failure: test_decode64(TestBase64) [/Users/watson/src/MacRuby/test_pack.rb:6]: <"\xFF"> (UTF-8) expected but was <"\xFF"> (ASCII-8BIT). 3) Failure: test_strict_decode64(TestBase64) [/Users/watson/src/MacRuby/test_pack.rb:17]: <"\xFF"> (UTF-8) expected but was <"\xFF"> (ASCII-8BIT). 4) Failure: test_urlsafe_decode64(TestBase64) [/Users/watson/src/MacRuby/test_pack.rb:40]: <"\xFF"> (UTF-8) expected but was <"\xFF"> (ASCII-8BIT). 5) Failure: test_pack_N(TestPack) [/Users/watson/src/MacRuby/test_pack.rb:117]: <"\xFF\xFF\xFF\xFE"> (UTF-8) expected but was <"\xFF\xFF\xFF\xFE"> (ASCII-8BIT). --- snip --- }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/849#comment:4> MacRuby <http://macruby.org/>