diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 09:37:51 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 09:37:51 +0000 |
commit | 03a1e25542345e6e4b40864a27d62d11df700047 (patch) | |
tree | f5f0464ce68837cdef32a59bd7c28e61eceebd09 /ext/nkf/nkf-utf8/config.h | |
parent | 6c6f996d71d45a16adc50e768034dbb3971a2586 (diff) | |
download | ruby-03a1e25542345e6e4b40864a27d62d11df700047.tar.gz |
* ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding.
* ext/nkf/nkf.c (Init_nkf): use rb_nkf_enc_get("ASCII").
* ext/nkf/nkf-utf8/nkf.c: Update 1.161.
* ext/nkf/nkf-utf9/config.h: default output encoding is now UTF-8.
* ext/nkf/lib/kconv.rb (Kconv.kconv): replace Encoding#name by
Encoding#to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/nkf/nkf-utf8/config.h')
-rw-r--r-- | ext/nkf/nkf-utf8/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/nkf/nkf-utf8/config.h b/ext/nkf/nkf-utf8/config.h index 1d3d46a71e..1fa74afd40 100644 --- a/ext/nkf/nkf-utf8/config.h +++ b/ext/nkf/nkf-utf8/config.h @@ -59,10 +59,10 @@ typedef int nkf_nfchar; /******************************/ /* $B%G%U%)%k%H$N=PNO%3!<%IA*Br(B */ /* Select DEFAULT_CODE */ -#define DEFAULT_CODE_JIS +/* #define DEFAULT_CODE_JIS */ /* #define DEFAULT_CODE_SJIS */ /* #define DEFAULT_CODE_EUC */ -/* #define DEFAULT_CODE_UTF8 */ +#define DEFAULT_CODE_UTF8 /******************************/ #else #define DEFAULT_CODE_SJIS |