зеркало из https://github.com/github/ruby.git
* 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:
Родитель
e0af046ad0
Коммит
5f5706c38f
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче