Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.pod
Octocat-spinner-32 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

Something went wrong with that request. Please try again.