diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 07:41:21 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 07:41:21 +0000 |
commit | ebf6015db96b2f5263ef58c5bd3b5a84748a1a7e (patch) | |
tree | 05a880a460f581fd39884dafce206d8024289224 /encoding.c | |
parent | b1d918b58f41c7c47a49f162e6d471dfc1563b3b (diff) | |
download | ruby-ebf6015db96b2f5263ef58c5bd3b5a84748a1a7e.tar.gz ruby-ebf6015db96b2f5263ef58c5bd3b5a84748a1a7e.tar.xz ruby-ebf6015db96b2f5263ef58c5bd3b5a84748a1a7e.zip |
* string.c (rb_enc_str_coderange): set ENC_CODERANGE_BROKEN using
rb_enc_precise_mbclen.
(rb_str_valid_encoding_p): just check coderange is
ENC_CODERANGE_BROKEN or not.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
0 files changed, 0 insertions, 0 deletions