diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-01 01:20:56 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-01 01:20:56 +0000 |
commit | ed22b0ecee668cbd58d469c05b10e74cd6f604ab (patch) | |
tree | 496270e7eac9d33121e47a86b280a92deff920df /string.c | |
parent | 54fd6de064142633f3bb592b0bd6486d262cd2b2 (diff) | |
download | ruby-ed22b0ecee668cbd58d469c05b10e74cd6f604ab.tar.gz |
* string.c (rb_str_inspect): fix typo (not 0xFD but 0xFE).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4217,7 +4217,7 @@ rb_str_inspect(VALUE str) const unsigned char *q = (const unsigned char *)p; if (q[0] == 0xFE && q[1] == 0xFF) enc = rb_enc_find("UTF-16BE"); - else if (q[0] == 0xFF && q[1] == 0xFD) + else if (q[0] == 0xFF && q[1] == 0xFE) enc = rb_enc_find("UTF-16LE"); else unicode_p = 0; |