[Overview][Constants][Types][Procedures and functions][Index] |
Load textual single-byte codepage to unicode map from file
Source position: charset.pp line 67
function loadunicodemapping( |
const cpname: string; |
const f: string; |
cp: Word |
):punicodemap; |
cpname |
|
Codepage name |
f |
|
File to open and analyse |
cp |
|
Numerical code page identifier. |
The single-byte to unicode map, or Nil on error.
loadunicodemapping loads a text description of a single-byte unicode mapping. It will analyse the textual description in file f, and produce an in-memory map of the file. It returns a pointer to the map, or Nil if something went wrong. The unicode map name must be specified in cpName, and the numerical identifier in cp
The resulting mapping can be registered using registermapping.
On error, Nil is returned.
|
Load binary single-byte codepage to unicode map from file or memory |
|
|
Register mapping |