mkcsmapper(1) OFFIS DCMTK mkcsmapper(1)

# [NAME](#NAME)

mkcsmapper - Create csmapper conversion files for oficonv

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#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](#PARAMETERS)

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

# [OPTIONS](#OPTIONS)

## [general 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](#EXIT_STATUS)

The **mkcsmapper** utility exits 0 on success, and &gt;0 if an error occurs.

# [SEE ALSO](#SEE_ALSO)

[**mkesdb**(1)](/man/os/dcmtk/mkesdb.1)

# [COPYRIGHT](#COPYRIGHT)

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

Mon Dec 15 2025 Version 3.7.0

---

Document: mkcsmapper(1) from dcmtk 3.7.0-r8 (Chainguard OS)
Source: https://github.com/DCMTK/dcmtk
