1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2005-03-03 22:12:03 +00:00
parent e5d5c0d8fc
commit 076d6dfc8a
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Mar 4 07:07:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63
Thu Mar 3 23:24:00 2005 NARUSE, Yui <naruse@ruby-lang.org> Thu Mar 3 23:24:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62

View file

@ -41,7 +41,7 @@
***********************************************************************/ ***********************************************************************/
/* $Id$ */ /* $Id$ */
#define NKF_VERSION "2.0.4" #define NKF_VERSION "2.0.4"
#define NKF_RELEASE_DATE "2005-02-20" #define NKF_RELEASE_DATE "2005-03-04"
#include "config.h" #include "config.h"
static char *CopyRight = static char *CopyRight =
@ -2197,6 +2197,13 @@ kanji_convert(f)
/* epilogue */ /* epilogue */
(*iconv)(EOF, 0, 0); (*iconv)(EOF, 0, 0);
if (!is_inputcode_set)
set_input_codename(
iconv == e_iconv ? "EUC-JP" :
iconv == s_iconv ? "Shift_JIS" :
iconv == w_iconv ? "UTF-8" :
iconv == w_iconv16 ? "UTF-16" :
"ASCII");
return 1; return 1;
} }