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 /sprintf.c | |
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 'sprintf.c')
0 files changed, 0 insertions, 0 deletions