diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 07:50:31 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 07:50:31 +0000 |
commit | 152534a51e40fc6d5661cf85c1d34c9c3390cbd0 (patch) | |
tree | e5b6d141e958ee4595e5c345ffd4d2d10ff9b7a4 /ext/nkf | |
parent | 39460b44758dfed3ce01477018d27bd2ea444781 (diff) | |
download | ruby-152534a51e40fc6d5661cf85c1d34c9c3390cbd0.tar.gz ruby-152534a51e40fc6d5661cf85c1d34c9c3390cbd0.tar.xz ruby-152534a51e40fc6d5661cf85c1d34c9c3390cbd0.zip |
* ext/nkf/nkf-utf8/config.h (MIME_DECODE_DEFAULT, X0201_DEFAULT):
defined as FALSE. nkf and kconv don't decode MIME encoded string
and don't convert JIS X 0201 Katakana.
* test/nkf/test_kconv.rb: fix tests.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/nkf')
-rw-r--r-- | ext/nkf/nkf-utf8/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/nkf/nkf-utf8/config.h b/ext/nkf/nkf-utf8/config.h index 9da82c6ae..1d3d46a71 100644 --- a/ext/nkf/nkf-utf8/config.h +++ b/ext/nkf/nkf-utf8/config.h @@ -85,4 +85,7 @@ struct normalization_pair{ }; #endif +#define MIME_DECODE_DEFAULT 0 +#define X0201_DEFAULT 0 + #endif /* _CONFIG_H_ */ |