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:
88b848e
)
Allow output MIME encoded Unicode characters. [nkf-forum#46987]
author
NARUSE Yui
<naruse@users.sourceforge.jp>
Thu, 19 Nov 2009 22:33:40 +0000
(07:33 +0900)
committer
NARUSE Yui
<naruse@users.sourceforge.jp>
Thu, 19 Nov 2009 22:33:40 +0000
(07:33 +0900)
nkf.c
patch
|
blob
|
history
diff --git
a/nkf.c
b/nkf.c
index
9bda6e2
..
3acd430
100644
(file)
--- a/
nkf.c
+++ b/
nkf.c
@@
-4855,7
+4855,6
@@
mime_putc(nkf_char c)
return;
}
}
- else return;
}
if (mimeout_mode <= 0) {
@@
-5253,6
+5252,8
@@
module_connection(void)
set_output_encoding(output_encoding);
oconv = nkf_enc_to_oconv(output_encoding);
o_putc = std_putc;
+ if (nkf_enc_unicode_p(output_encoding))
+ output_mode = UTF_8;
/* replace continucation module, from output side */