mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* encoding.c (rb_filesystem_encoding): On Unix systems,
filesystem encoding should be locale encoding. [ruby-dev:39393] and see also [ruby-dev:35617] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0af046ad0
commit
5f5706c38f
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Sep 29 04:14:08 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* encoding.c (rb_filesystem_encoding): On Unix systems,
|
||||
filesystem encoding should be locale encoding.
|
||||
[ruby-dev:39393]
|
||||
|
||||
Tue Sep 29 04:07:58 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* hash.c (rb_f_getenv): use rb_filesystem_str_new_cstr
|
||||
|
|
|
@ -1104,7 +1104,7 @@ rb_filesystem_encoding(void)
|
|||
#elif defined __APPLE__
|
||||
enc = rb_utf8_encoding();
|
||||
#else
|
||||
enc = rb_default_external_encoding();
|
||||
enc = rb_locale_encoding();
|
||||
#endif
|
||||
return enc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue