mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
localeinit.c: revert r46202
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4bf480b7d5
commit
88789fdeed
1 changed files with 0 additions and 3 deletions
|
@ -65,9 +65,6 @@ Init_enc_set_filesystem_encoding(void)
|
|||
if (idx < 0) idx = ENCINDEX_ASCII;
|
||||
#else
|
||||
idx = rb_enc_to_index(rb_default_external_encoding());
|
||||
# if defined __APPLE__
|
||||
if (idx == rb_usascii_encindex()) idx = rb_utf8_encindex();
|
||||
# endif
|
||||
#endif
|
||||
return idx;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue