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

Reference for unit 'charset'

Character set support

uses

  System;

  

The system unit

Overview

The charset unit can be used to load single-byte character set (code page) descriptions. It is used in the fpwidestring unit to add support for converting single-byte codepage strings to unicode strings (and vice versa).

Data of a code page may be included using one of the ready-made units, or can be loaded (in a binary form) at runtime with the loadbinaryunicodemapping function. The binary files have the .bcm extension and are produced by the creumap utility distributed with Free Pascal.

Pre-made units are available for the following codepages: cp895, cp932, cp936, cp949 and cp950.


Documentation generated on: Sep 28 2017