mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* encoding.c (rb_filesystem_encoding): use locale encoding on Unix.
[ruby-dev:35617] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6ccce7e3f5
commit
4fb4516af8
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jul 21 17:15:38 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* encoding.c (rb_filesystem_encoding): use locale encoding on Unix.
|
||||
[ruby-dev:35617]
|
||||
|
||||
Mon Jul 21 15:29:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* missing/vsnprintf.c (struct __sbuf, FILE): use size_t.
|
||||
|
|
|
@ -967,7 +967,7 @@ rb_filesystem_encoding(void)
|
|||
#elif defined __APPLE__
|
||||
enc = rb_enc_find("UTF8-MAC");
|
||||
#else
|
||||
enc = rb_ascii8bit_encoding();
|
||||
enc = rb_locale_encoding();
|
||||
#endif
|
||||
}
|
||||
return enc;
|
||||
|
|
Loading…
Reference in a new issue