[Overview][Constants][Types][Procedures and functions][Index] | Reference for unit 'unixcp' (#rtl)

# Reference for unit 'unixcp'

Code Page name to number conversions

`uses`
`System,` |  | The system unit
`BaseUnix;` |  | Basic Unix functionality

## Overview

The unixcp unit provides routines to handle mapping of code page names to numerical values as used in libiconv>. The GetCodepageByName function is the main function for this. The GetCodepageData can be used to map a code page number to a name. These function can be used for instance to map code page information in environment variables to code page numbers used in string encodings. The supported code page names are the ones commonly in use in libiconv.

This unit is used for example in unit cwstring.