pkf(1)

pkf1

Perl kanji code conversion filter

Usage

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

Overview

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.

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 4.0

-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).

Authors

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

From pkf 2.1-4 in Debian 4.0 (Etch). Parsed by carta from the page's man source.