---
name: "pkf"
section: "1"
platform: "linux"
package: "pkf"
version: "2.1-4"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/pkf"
---

# 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)](/nkf/1.md).
