Skip to content

Commit d17f8b0

Browse files
committed
merge revision(s) 20142:
* ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in conversion. [ruby-list:45609] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 1323a6e commit d17f8b0

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Thu Feb 5 09:38:48 2009 NARUSE, Yui <naruse@ruby-lang.org>
2+
3+
* ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in
4+
conversion. [ruby-list:45609]
5+
16
Thu Feb 5 09:03:21 2009 Shugo Maeda <shugo@ruby-lang.org>
27

38
* lib/rexml/entity.rb (unnormalized): do not call

ext/nkf/nkf-utf8/nkf.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
***********************************************************************/
4242
/* $Id$ */
4343
#define NKF_VERSION "2.0.8"
44-
#define NKF_RELEASE_DATE "2007-01-28"
44+
#define NKF_RELEASE_DATE "2008-11-08"
4545
#include "config.h"
4646
#include "utf8tbl.h"
4747

4848
#define COPY_RIGHT \
4949
"Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa),2000 S. Kono, COW\n" \
50-
"Copyright (C) 2002-2006 Kono, Furukawa, Naruse, mastodon"
50+
"Copyright (C) 2002-2008 Kono, Furukawa, Naruse, mastodon"
5151

5252

5353
/*
@@ -3025,12 +3025,12 @@ h_conv(FILE *f, nkf_char c2, nkf_char c1)
30253025
code_status(c1);
30263026
}
30273027
while (p->name){
3028-
if (p->score < result->score){
3028+
if (p->status_func && p->score < result->score){
30293029
result = p;
30303030
}
30313031
++p;
30323032
}
3033-
set_iconv(FALSE, result->iconv_func);
3033+
set_iconv(TRUE, result->iconv_func);
30343034
}
30353035

30363036

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2009-02-05"
33
#define RUBY_VERSION_CODE 187
44
#define RUBY_RELEASE_CODE 20090205
5-
#define RUBY_PATCHLEVEL 107
5+
#define RUBY_PATCHLEVEL 108
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)