No description, website, or topics provided.
Perl
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.pod
check-mixed-charenc

README.pod

NAME

check-mixed-charenc - detect character encoding per line

SYNOPSIS

check-mixed-charenc [ -d ] [ -k charenc [-o charenc] ] file

$ ./check-mixed-charenc gojyagojya.txt
utf-8:  3, euc-jp:  3, sjis:  3, jis:  3, ascii:  3, | lf: 15,

$ ./check-mixed-charenc -k euc-jp gojyagojya.txt
assume_enc: euc-jp
1: jis  jis いち
2: jis  jis にっ
3: jis  jis さん!
4: sjis  sjis いち
5: sjis  sjis にっ
6: sjis  sjis さん!
13: utf-8  utf-8 いち
14: utf-8 (may shiftjis or utf8 ?) utf-8 にっ
15: utf-8  utf-8 さん!
utf-8:  3, euc-jp:  3, sjis:  3, jis:  3, ascii:  3, | lf: 15,

DESCRIPTION

this program is ...

OPTIONS

-k charenc
charenc: Str

指定された文字コードと一致しない行の、行番号と行データを表示する。

-d

increase debug level. -d -d more verbosely.

AUTHOR

HIROSE, Masaaki <hirose31 _at_ gmail.com>

COPYRIGHT & LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

HISTORY