Actions
Bug #6675
closedRaise exception when convert encoding of a character from GBK to UTF
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
Backport:
Description
#!/usr/bin/env ruby -w
encoding: utf-8¶
require 'test/unit'
class Tests < Test::Unit::TestCase
def test_gbk
assert_raise Encoding::UndefinedConversionError do
"\ue863".encode('gbk').encode('utf-8')
end
end
end
Actions
Like0
Like0Like0Like0