diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-18 04:49:14 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-18 04:49:14 +0000 |
commit | c58736dbdc74400d7ce58804e46b10c406b91c20 (patch) | |
tree | 3af118754c56e22801f2c733c2aa3c6da3b3e299 /ChangeLog | |
parent | 845ae33b17dc93b2ac3a1be0885b0fb9ae623225 (diff) | |
download | ruby-c58736dbdc74400d7ce58804e46b10c406b91c20.tar.gz |
* string.c (rb_str_dump): preserve the encoding of source string
if it is ASCII compatible. otherwise, add '.force_encoding()'
for ugly work around. maybe we should implement some other way
to keep non ASCII encoding in dumped string. [ruby-dev:33142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -98,6 +98,13 @@ Thu Jan 17 21:01:25 2008 Tadayoshi Funaba <tadf@dotrb.org> * lib/date.rb, lib/date/format.rb: some trivial changes. +Thu Jan 17 13:07:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * string.c (rb_str_dump): preserve the encoding of source string + if it is ASCII compatible. otherwise, add '.force_encoding()' + for ugly work around. maybe we should implement some other way + to keep non ASCII encoding in dumped string. [ruby-dev:33142] + Thu Jan 17 10:30:32 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * io.c (io_fwrite): always flush IO on tty, even without newlines. |