diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-15 05:03:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-15 05:03:49 +0000 |
commit | 77ae7b2e8353c963404c31c6d910fe77286cbd81 (patch) | |
tree | 0cd1302738bdcd7844a8f467b9e40d4612e9f564 /ChangeLog | |
parent | de6d4226559bd2d4ff2ffd78cf1c0b03559630aa (diff) | |
download | ruby-77ae7b2e8353c963404c31c6d910fe77286cbd81.tar.gz |
string.c: use actual encodings
* string.c (get_actual_encoding): get actual encoding according to
the BOM if exists.
* string.c (rb_str_inspect): use according encoding, instead of
pseudo encodings, UTF-{16,32}. [ruby-core:59757] [Bug #8940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Wed Jan 15 14:03:47 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * string.c (get_actual_encoding): get actual encoding according to + the BOM if exists. + + * string.c (rb_str_inspect): use according encoding, instead of + pseudo encodings, UTF-{16,32}. [ruby-core:59757] [Bug #8940] + Tue Jan 14 21:07:22 2014 Masaki Matsushita <glass.saga@gmail.com> * ext/thread/thread.c (rb_szqueue_clear): notify SZQUEUE_WAITERS |