summaryrefslogtreecommitdiff
path: root/regenc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-13 14:20:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-13 14:20:19 +0000
commita3960d0a60d60b22da774875b1bd46342b300bc1 (patch)
tree21e78a3b75425af500e2b4547921f55bb1965726 /regenc.c
parenteafeb506cd0f53be1fc4360fe7f493ef3714705a (diff)
string.c: fix up r58703
* string.c (rb_external_str_new_with_enc): fix the case of conversion failure. when conversion failed for some reason, just ignores the default internal encoding and returns in the given encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regenc.c')
0 files changed, 0 insertions, 0 deletions