ruby-changes:8607
From: naruse <ko1@a...>
Date: Sat, 8 Nov 2008 01:54:56 +0900 (JST)
Subject: [ruby-changes:8607] Ruby:r20142 (ruby_1_8): * ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in
naruse 2008-11-08 01:54:25 +0900 (Sat, 08 Nov 2008) New Revision: 20142 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20142 Log: * ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in conversion. [ruby-list:45609] Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/ext/nkf/nkf-utf8/nkf.c Index: ruby_1_8/ext/nkf/nkf-utf8/nkf.c =================================================================== --- ruby_1_8/ext/nkf/nkf-utf8/nkf.c (revision 20141) +++ ruby_1_8/ext/nkf/nkf-utf8/nkf.c (revision 20142) @@ -41,13 +41,13 @@ ***********************************************************************/ /* $Id$ */ #define NKF_VERSION "2.0.8" -#define NKF_RELEASE_DATE "2007-01-28" +#define NKF_RELEASE_DATE "2008-11-08" #include "config.h" #include "utf8tbl.h" #define COPY_RIGHT \ "Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa),2000 S. Kono, COW\n" \ - "Copyright (C) 2002-2006 Kono, Furukawa, Naruse, mastodon" + "Copyright (C) 2002-2008 Kono, Furukawa, Naruse, mastodon" /* @@ -3025,12 +3025,12 @@ code_status(c1); } while (p->name){ - if (p->score < result->score){ + if (p->status_func && p->score < result->score){ result = p; } ++p; } - set_iconv(FALSE, result->iconv_func); + set_iconv(TRUE, result->iconv_func); } Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 20141) +++ ruby_1_8/ChangeLog (revision 20142) @@ -1,3 +1,8 @@ +Sat Nov 8 01:38:07 2008 NARUSE, Yui <naruse@r...> + + * ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in + conversion. [ruby-list:45609] + Fri Nov 7 18:29:09 2008 Akinori MUSHA <knu@i...> * hash.c (rb_hash_key, env_key): Hash#index is renamed to -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/