Reference

pkf(1)

Perl Kanji code conversion Filter

NAME

pkf - Perl Kanji code conversion Filter

SYNOPSIS

pkf [ OPTIONS ] [ -[icode]ocode[in,out] ] files

DESCRIPTION

Pkf is a perl script and has features as nkf (Network Kanji Filter). This converts from an input code including one of JIS, SJIS, Japanese EUC to another one.

OPTIONS

icode/ocode is one of [jse] (j=JIS, s=SJIS, e=EUC)

ocode `j' can be followed by JIS in/out character

-b

buffered output (default)

-u

unbuffered output

-m

dynamic input code recognition

-c

print code name

-v

print escape sequences used in JIS when used along with -c

-n

no code conversion (use original code)

-Z

convert 1-byte (hankaku) kana to 2-byte (zenkaku) kana

-H

convert 2-byte (zenkaku) kana to 1-byte (hankaku) kana

-f [unix, mac, dos]

convert eol string to \n, \r, \r\n respectively. currently this option can't be used with other options.

AUTHORS

pkf was written by Kazumasa Utashiro. This man page was written by Felipe Augusto van de Wiel.

SEE ALSO

nkf(1).

History

-H since Debian 4.0 (Etch); -Z since Debian 4.0 (Etch); -b since Debian 4.0 (Etch); -c since Debian 4.0 (Etch); -m since Debian 4.0 (Etch); -n since Debian 4.0 (Etch); -u since Debian 4.0 (Etch); -v since Debian 4.0 (Etch).