#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 lsansonetti@…): When running test_encode_error.rb with trunk, the first exception that comes up seems to be from gsub. {{{ Breakpoint 1, rb_exc_raise (mesg=17184759744) at eval.c:326 326 rb_vm_raise(mesg); (gdb) po mesg incompatible character encodings: UTF-8 and ASCII-8BIT Current language: auto; currently c (gdb) bt #0 rb_exc_raise (mesg=17184759744) at eval.c:326 #1 0x000000010002d984 in rb_raise (exc=<value temporarily unavailable, due to optimizations>, fmt=<value temporarily unavailable, due to optimizations>) at error.c:1119 #2 0x00000001000bc7b4 in str_concat_string (self=0x40077c7a0, str=0x0) at string.c:192 #3 0x00000001000c31a1 in str_gsub (sel=<value temporarily unavailable, due to optimizations>, argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>, str=17188767616, bang=false) at string.c:3909 #4 0x00000001001302f9 in rb_vm_dispatch (_vm=0x100a16980, cache=0x100bc8640, top=17183089696, self=17188767616, klass=0x40030b1e0, sel=0x100aaf4f0, block=0x40040af00, opt=0 '\0', argc=1, argv=0x7fff5fbf7fb8) at dispatcher.cpp:435 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/849#comment:1> MacRuby <http://macruby.org/>