1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

use \xf0 instead of \xfd for valid first byte of a UTF-8 character.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-06 10:06:41 +00:00
parent 948d1a6821
commit b791feb694

View file

@ -626,5 +626,5 @@ assert_equal '2', %q{
assert_match /illegal multibyte char/, %q{ assert_match /illegal multibyte char/, %q{
STDERR.reopen(STDOUT) STDERR.reopen(STDOUT)
eval("\"\xfd".force_encoding("utf-8")) eval("\"\xf0".force_encoding("utf-8"))
}, '[ruby-dev:32429]' }, '[ruby-dev:32429]'