summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 07:50:31 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 07:50:31 +0000
commit72d638fb2feab7a68f2caf2d4c58b4009cfd7a40 (patch)
treee5b6d141e958ee4595e5c345ffd4d2d10ff9b7a4 /ext
parente791259e005e35069af7d701366f11c320eb31f2 (diff)
downloadruby-72d638fb2feab7a68f2caf2d4c58b4009cfd7a40.tar.gz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/nkf/nkf-utf8/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/nkf/nkf-utf8/config.h b/ext/nkf/nkf-utf8/config.h
index 9da82c6aee..1d3d46a71e 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_ */