BSD Ports

japanese/nkf 2.1.5v0 OpenBSD

Network Kanji code conversion Filter

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Marc Espie <[email protected]>
Categories
japanese, textproc

Description

Japanese character encodings are not very well standardized. There are several distinct industrial standards.

JIS and EUC are the most common, they only use 7 bit characters and state-shift sequences. Shift-JIS (as known as Microsoft JIS) is a variant of JIS that use 8 bit characters instead of sequences to encode state-shift. It's a broken scheme, as was to be expected.

All of this does NOT incorporate seamlessly into grander schemes such as unicode yet...

Nkf is a tool to convert between all the commonest japanese encodings. It is also able to repair documents which have lost part of their escape sequences.

The niftiest feature of nkf is that it can guess input encodings, and usually does this right.

In the other systems

The newest version among them is 2.1.5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDjapanese/nkf2.1.5v0 newestno data-Marc Espie <[email protected]>-
FreeBSDjapanese/nkf2.1.5_1,1 newestnone known-[email protected]-
DragonFlyjapanese/nkf2.1.5_1,1 newestnone known-[email protected]-
MidnightBSDjapanese/nkf2.1.5_1,1 newestno data-[email protected]-
HardenedBSDjapanese/nkf2.1.5_1,1 newestno data-[email protected]-
GhostBSDjapanese/nkf2.1.5_1,1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add ja-nkf

From the ports tree:

cd /usr/ports/japanese/nkf && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies