зеркало из https://github.com/github/ruby.git
* enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversed
from_encoding and to_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
eadfbddd93
Коммит
7489c4d93e
|
@ -1,3 +1,8 @@
|
|||
Tue Dec 25 16:51:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversed
|
||||
from_encoding and to_encoding.
|
||||
|
||||
Tue Dec 25 16:41:57 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* golf_prelude.rb (h): add new method for all golfers.
|
||||
|
|
|
@ -4424,7 +4424,7 @@ from_SHIFT_JIS = {
|
|||
};
|
||||
static rb_transcoder
|
||||
rb_from_SHIFT_JIS = {
|
||||
"UTF-8", "SHIFT_JIS", &from_SHIFT_JIS, 3, 0,
|
||||
"SHIFT_JIS", "UTF-8", &from_SHIFT_JIS, 3, 0,
|
||||
NULL, NULL,
|
||||
};
|
||||
|
||||
|
@ -13354,7 +13354,7 @@ to_SHIFT_JIS = {
|
|||
};
|
||||
static rb_transcoder
|
||||
rb_to_SHIFT_JIS = {
|
||||
"SHIFT_JIS", "UTF-8", &to_SHIFT_JIS, 2, 1,
|
||||
"UTF-8", "SHIFT_JIS", &to_SHIFT_JIS, 2, 1,
|
||||
NULL, NULL,
|
||||
};
|
||||
|
||||
|
@ -18128,7 +18128,7 @@ from_EUC_JP = {
|
|||
};
|
||||
static rb_transcoder
|
||||
rb_from_EUC_JP = {
|
||||
"UTF-8", "EUC-JP", &from_EUC_JP, 3, 0,
|
||||
"EUC-JP", "UTF-8", &from_EUC_JP, 3, 0,
|
||||
NULL, NULL,
|
||||
};
|
||||
|
||||
|
@ -23633,7 +23633,7 @@ to_EUC_JP = {
|
|||
};
|
||||
static rb_transcoder
|
||||
rb_to_EUC_JP = {
|
||||
"EUC-JP", "UTF-8", &to_EUC_JP, 2, 1,
|
||||
"UTF-8", "EUC-JP", &to_EUC_JP, 2, 1,
|
||||
NULL, NULL,
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче