---
name: "gencnval"
section: "8"
platform: "linux"
package: "icu"
version: "2.1-2.1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/gencnval/8"
---

# gencnval(8)

compile the converters aliases file

## NAME

**gencnval** - compile the converters aliases file

## SYNOPSIS

**gencnval** \[ **-h, -?, --help** \] \[ **-c, --copyright** \] \[ **-s, --sourcedir** *source* \] \[ **-d, --destdir** *destination* \] \[ *converterfile* \]

## DESCRIPTION

**gencnval** converts the ICU aliases file *converterfile* into the binary file **cnvalias.dat**. This binary file can then be read directly by ICU, or used by [**pkgdata**(8)](/pkgdata/8.md) for incorporation into a larger archive or library.

If *converterfile* is not provided, the default ICU **convrtrs.txt** file is used.

## OPTIONS

- **-h, -?, --help**

  Print help about usage and exit.

- **-c, --copyright**

  Include a copyright notice in the binary data.

- **-s, --sourcedir** *source*

  Set the source directory to *source*. The default source directory is specified by the environment variable **ICU\_DATA**.

- **-d, --destdir** *destination*

  Set the destination directory to *destination*. The default destination directory is specified by the environment variable **ICU\_DATA**.

## ENVIRONMENT

- **ICU\_DATA**

  Specifies the directory containing ICU data. Defaults to **/usr/lib/icu/2.1/**. Some tools in ICU depend on the presence of the trailing slash. It is thus important to make sure that it is present if **ICU\_DATA** is set.

## FILES

- **/etc/icu/convrtrs.txt**

  Description of ICU's converters and their aliases.

## VERSION

2\.1

## COPYRIGHT

Copyright (C) 2000-2002 IBM, Inc. and others.

## SEE ALSO

[**convrtrs.txt**(5)](/convrtrs.txt/5.md)\
 [**pkgdata**(8)](/pkgdata/8.md)
