Bug#175528: option for iconv to check the encoding consistency
Package: libc6
Version: 2.3.1-9
Severity: wishlist
I could not find easy command to check text file encoding consistency,
UTF-8 vs. ISO-8859-1.
Tomohiro KUBOTA <kubota@debian.org> suggested using iconv.:
$ iconv -f UTF-8 -t UTF-8 somefile &>/dev/null
$ echo $?
I wish iconv have a easy "-c", "--check-code" option to do the same with:
$ iconv -c UTF-8 somefile
$ echo $?
"file" command will not catch 1 wrong byte in a big file :)
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libc6 2.3.1-9 GNU C Library: Shared libraries and Timezone
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <osamu@debian.org> Cupertino CA USA, GPG-key: A8061F32
.''`. Debian Reference: post-installation user's guide for non-developers
: :' : http://qref.sf.net and http://people.debian.org/~osamu
`. `' "Our Priorities are Our Users and Free Software" --- Social Contract
Reply to: