Skip to content

CodePageNameToCodePage

Return a numeric identifier for the codepage.

Declaration

Source position: syscodepagesh.inc line 16

  function CodePageNameToCodePage(const cpname: AnsiString)
                                  : TSystemCodePage;

Description

CodePageNameToCodePage returns the code page number for the specified codepage cpname.

Errors

If the code page is not found in the list of code pages, $FFFF is returned.

See also

Name Description
CodePageToCodePageName Convert a numeric codepage identifier to a codepage name