mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* encoding.c (rb_filesystem_encoding): Change filesystem_encoding of
Mac OS X to UTF-8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
80705b9fbf
commit
f7bfe5f2df
3 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Apr 30 11:35:30 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* encoding.c (rb_filesystem_encoding): Change filesystem_encoding of
|
||||
Mac OS X to UTF-8.
|
||||
|
||||
Wed Apr 29 21:23:40 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* enc/iso_2022_jp.h: add CP50221.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define RUBY_VERSION "1.9.2"
|
||||
#define RUBY_RELEASE_DATE "2009-04-29"
|
||||
#define RUBY_RELEASE_DATE "2009-04-30"
|
||||
#define RUBY_PATCHLEVEL -1
|
||||
#define RUBY_BRANCH_NAME "trunk"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
#define RUBY_VERSION_TEENY 1
|
||||
#define RUBY_RELEASE_YEAR 2009
|
||||
#define RUBY_RELEASE_MONTH 4
|
||||
#define RUBY_RELEASE_DAY 29
|
||||
#define RUBY_RELEASE_DAY 30
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Reference in a new issue