diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-30 02:38:47 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-30 02:38:47 +0000 |
| commit | 01c318cd8396bf0ab03bacfe94a7fc4109120f56 (patch) | |
| tree | a725a6fbd668579c2ac34d2b63840f01d25960b6 /encoding.c | |
| parent | 2cb1246f09f7498a8e8061bfa73b97a24cfaa6a1 (diff) | |
| download | ruby-01c318cd8396bf0ab03bacfe94a7fc4109120f56.tar.gz ruby-01c318cd8396bf0ab03bacfe94a7fc4109120f56.tar.xz ruby-01c318cd8396bf0ab03bacfe94a7fc4109120f56.zip | |
* encoding.c (rb_filesystem_encoding): Change filesystem_encoding of
Mac OS X to UTF-8.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
| -rw-r--r-- | encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c index ee0f2f435..019357571 100644 --- a/encoding.c +++ b/encoding.c @@ -1037,7 +1037,7 @@ rb_filesystem_encoding(void) snprintf(cp, sizeof cp, "CP%d", AreFileApisANSI() ? GetACP() : GetOEMCP()); enc = rb_enc_find(cp); #elif defined __APPLE__ - enc = rb_enc_find("UTF8-MAC"); + enc = rb_enc_find("UTF-8"); #else enc = rb_default_external_encoding(); #endif |
