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 | e9836b1b460e6839fda2256517d925b43a2c6d71 (patch) | |
| tree | 3af118754c56e22801f2c733c2aa3c6da3b3e299 /test/ruby | |
| parent | ea393a2ea2b3193b9583f4ff19d08622cb317233 (diff) | |
| download | ruby-e9836b1b460e6839fda2256517d925b43a2c6d71.tar.gz ruby-e9836b1b460e6839fda2256517d925b43a2c6d71.tar.xz ruby-e9836b1b460e6839fda2256517d925b43a2c6d71.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@15108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
