[MacRuby] #849: MacRuby throws the exception of "Encoding::CompatibilityError" with various cases.

MacRuby ruby-noreply at macosforge.org
Wed Aug 11 19:48:57 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:                       
----------------------------------+-----------------------------------------
 In the range that I understood, I collected the test-cases from Ruby 1.9.2
 RC2 that MacRuby throws the exception of
 "Encoding::CompatibilityError".[[BR]]
 I atach the test-cases.

 {{{
 $ macruby test_fileutils.rb
 Loaded suite test_fileutils
 Started
 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
 Finished in 2.835229 seconds.

   1) Error:
 test_cd(TestFileUtils):
 Encoding::CompatibilityError: incompatible character encodings: UTF-8 and
 ASCII-8BIT
     /Users/watson/tmp/test_encode/test_fileutils.rb:116:in
 `prepare_data_file'

 --- snip ---
 }}}

 {{{
 $ macruby test_encode_error.rb
 Loaded suite test_encode_error
 Started
 EEEEEEEEEEEEEEEEEE
 Finished in 1.792149 seconds.

   1) Error:
 test_cgi_unescape(CGIUtilTest):
 Encoding::CompatibilityError: incompatible character encodings: UTF-8 and
 ASCII-8BIT
     /Users/watson/tmp/test_encode/test_encode_error.rb:20:in
 `test_cgi_unescape'

 --- snip ---
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/849>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list