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
@ -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…
x
Reference in New Issue
Block a user