From: Jeremy Evans <merch-redmine@...>
Date: 2012-02-17T06:13:13+09:00
Subject: [ruby-core:42698] [ruby-trunk - Bug #6040] Transcoding test failure: Big5 to UTF8 not defined (MinGW)


Issue #6040 has been updated by Jeremy Evans.


I can confirm that this error occurs on both OpenBSD amd64 and i386.  This happens both when the whole test suite is run and when just test_transcode is run in isolation.
----------------------------------------
Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
https://bugs.ruby-lang.org/issues/6040

Author: Luis Lavena
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32]


Hello,

While testing 1.9.3-p125 (released), discovered this bug which was not present in previous builds:

<pre>
100) Error:
test_Big5(TestTranscode):
Encoding::UndefinedConversionError: "\xA1@" from Big5 to UTF-8
    C:/Users/Luis/Projects/oss/oneclick/rubyinstaller/sandbox/ruby_1_9/test/ruby/test_transcode.rb:54:in `encode'
    C:/Users/Luis/Projects/oss/oneclick/rubyinstaller/sandbox/ruby_1_9/test/ruby/test_transcode.rb:54:in `check_both_ways'
    C:/Users/Luis/Projects/oss/oneclick/rubyinstaller/sandbox/ruby_1_9/test/ruby/test_transcode.rb:1788:in `test_Big5'
</pre>

I can't reproduce this when run in isolation (make test-all TESTS="ruby/test_transcode.rb")

Perhaps this is a fluke?

Thank you



-- 
http://bugs.ruby-lang.org/