зеркало из https://github.com/github/ruby.git
* enc/trans/korean.c: add support for CP949 by Park Ji-In. [ruby-dev:33626]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9a000dda77
Коммит
e22ff0c9b6
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Feb 7 15:03:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* enc/trans/korean.c: add support for CP949 by Park Ji-In.
|
||||||
|
[ruby-dev:33626]
|
||||||
|
|
||||||
Thu Feb 7 11:11:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
Thu Feb 7 11:11:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* missing/lgamma_r.c (lgamma_r): some compilers don't permit dividing
|
* missing/lgamma_r.c (lgamma_r): some compilers don't permit dividing
|
||||||
|
|
41774
enc/trans/korean.c
41774
enc/trans/korean.c
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -82,6 +82,10 @@ class TestTranscode < Test::Unit::TestCase
|
||||||
check_both_ways("\u0643\u062A\u0628", "\xE3\xCA\xC8", 'iso-8859-6') # كتب
|
check_both_ways("\u0643\u062A\u0628", "\xE3\xCA\xC8", 'iso-8859-6') # كتب
|
||||||
check_both_ways("\u65E5\u8A18", "\x93\xFA\x8BL", 'shift_jis') # 日記
|
check_both_ways("\u65E5\u8A18", "\x93\xFA\x8BL", 'shift_jis') # 日記
|
||||||
check_both_ways("\u65E5\u8A18", "\xC6\xFC\xB5\xAD", 'euc-jp')
|
check_both_ways("\u65E5\u8A18", "\xC6\xFC\xB5\xAD", 'euc-jp')
|
||||||
|
check_both_ways("\uC560\uC778\uAD6C\uD568\u0020\u6734\uC9C0\uC778",
|
||||||
|
"\xBE\xD6\xC0\xCE\xB1\xB8\xC7\xD4\x20\xDA\xD3\xC1\xF6\xC0\xCE", 'euc-kr') # 애인구함 朴지인
|
||||||
|
check_both_ways("\uC544\uD58F\uD58F\u0020\uB620\uBC29\uD6BD\uB2D8\u0020\uC0AC\uB791\uD716",
|
||||||
|
"\xBE\xC6\xC1\x64\xC1\x64\x20\x8C\x63\xB9\xE6\xC4\x4F\xB4\xD4\x20\xBB\xE7\xB6\xFB\xC5\x42", 'cp949') # 아햏햏 똠방횽님 사랑휖
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_twostep
|
def test_twostep
|
||||||
|
@ -96,7 +100,7 @@ class TestTranscode < Test::Unit::TestCase
|
||||||
'ISO-8859-7', 'ISO-8859-8', 'ISO-8859-9',
|
'ISO-8859-7', 'ISO-8859-8', 'ISO-8859-9',
|
||||||
'ISO-8859-10', 'ISO-8859-11', 'ISO-8859-13',
|
'ISO-8859-10', 'ISO-8859-11', 'ISO-8859-13',
|
||||||
'ISO-8859-14', 'ISO-8859-15',
|
'ISO-8859-14', 'ISO-8859-15',
|
||||||
'EUC-JP', 'SHIFT_JIS'
|
'EUC-JP', 'SHIFT_JIS', 'EUC-KR'
|
||||||
]
|
]
|
||||||
all_ascii = (0..127).to_a.pack 'C*'
|
all_ascii = (0..127).to_a.pack 'C*'
|
||||||
encodings.each do |enc|
|
encodings.each do |enc|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче