---
name: "mkcsmapper"
section: "1"
platform: "linux"
package: "dcmtk"
version: "3.7.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/mkcsmapper"
---

# mkcsmapper(1)

Create csmapper conversion files for oficonv

## NAME

mkcsmapper - Create csmapper conversion files for oficonv

## SYNOPSIS

```
mkcsmapper [-d] [-m | -p] [-o outfile] [infile]
```

## DESCRIPTION

The **mkcsmapper** utility generates binary conversion data from plain text conversion tables for the oficonv library. The conversion data has three components: The conversion mapping between specific character encodings, a directory of available mapping files, and a pivot file, which contains the possible source and destination encoding pairs or the set of mappings to use for a compound encoding.

## PARAMETERS

```
infile  input file (from oficonv/datasrc/csmapper) to be converted
```

## OPTIONS

### general options

```
  -d    debug mode, print debug information
  -m    create directory of available mapping files
  -p    create pivot file
  -o    [f]ilename: string
        store output in file f
```

## EXIT STATUS

The **mkcsmapper** utility exits 0 on success, and \>0 if an error occurs.

## SEE ALSO

[**mkesdb**(1)](/mkesdb/1.md)

## COPYRIGHT

This man page is derived from the FreeBSD mkcsmapper man page, Copyright (C) 2009 Gabor Kovesdan gabor@FreeBSD.org
