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:
ba28847
)
Show endian on --guess.
author
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sat, 17 Mar 2012 11:40:54 +0000
(20:40 +0900)
committer
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sat, 17 Mar 2012 11:40:54 +0000
(20:40 +0900)
http://sourceforge.jp/ticket/browse.php?group_id=248&tid=26325
nkf.c
patch
|
blob
|
history
diff --git
a/nkf.c
b/nkf.c
index
0382f30
..
b9df10e
100644
(file)
--- a/
nkf.c
+++ b/
nkf.c
@@
-4190,8
+4190,12
@@
print_guessed_code(char *filename)
if (guess_f == 1) {
printf("%s\n", input_codename);
} else {
- printf("%s%s\n",
+ printf("%s%s
%s
\n",
input_codename,
+ iconv != w_iconv16 && iconv != w_iconv32 ? "" :
+ input_endian == ENDIAN_LITTLE ? " LE" :
+ input_endian == ENDIAN_BIG ? " BE" :
+ "[BUG]",
input_eol == CR ? " (CR)" :
input_eol == LF ? " (LF)" :
input_eol == CRLF ? " (CRLF)" :