mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* encoding.c (Init_Encoding): registered rb_encoding differs from
ONIG_ENCODINGs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7494e2ef32
commit
1ed2aad958
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Dec 30 17:43:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* encoding.c (Init_Encoding): registered rb_encoding differs from
|
||||
ONIG_ENCODINGs.
|
||||
|
||||
Sun Dec 30 13:56:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (program): clear input strings after all process.
|
||||
|
|
|
@ -1011,7 +1011,7 @@ Init_Encoding(void)
|
|||
/* dummy for unsupported, statefull encoding */
|
||||
rb_define_dummy_encoding("ISO-2022-JP");
|
||||
|
||||
rb_enc_replicate("Windows-31J", ONIG_ENCODING_SJIS);
|
||||
rb_enc_replicate("Windows-31J", rb_enc_from_index(ENCINDEX_SJIS));
|
||||
rb_enc_alias("CP932", "Windows-31J");
|
||||
|
||||
for (i = 0; i < enc_table_size; ++i) {
|
||||
|
|
Loading…
Add table
Reference in a new issue