OSDN Git Service
(root)
/
nkf
/
nkf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84febbd
)
Fix: can't guess UTF-16 and UTF-32.
author
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sat, 21 Feb 2009 06:12:55 +0000
(15:12 +0900)
committer
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sat, 21 Feb 2009 06:12:55 +0000
(15:12 +0900)
http://pc11.2ch.net/test/read.cgi/unix/
1005206241
/240
nkf.c
patch
|
blob
|
history
diff --git
a/nkf.c
b/nkf.c
index
35aacff
..
628a6f6
100644
(file)
--- a/
nkf.c
+++ b/
nkf.c
@@
-468,6
+468,8
@@
struct input_code input_code_list[] = {
{"Shift_JIS", 0, 0, 0, {0, 0, 0}, s_status, s_iconv, 0},
#ifdef UTF8_INPUT_ENABLE
{"UTF-8", 0, 0, 0, {0, 0, 0}, w_status, w_iconv, 0},
+ {"UTF-16", 0, 0, 0, {0, 0, 0}, NULL, w_iconv16, 0},
+ {"UTF-32", 0, 0, 0, {0, 0, 0}, NULL, w_iconv32, 0},
#endif
{0}
};