Sign in Join
FPDoc Onlineexperiment

GetTextCodePage function

In unit System

Get the codepage used in a text file.

Declaration

pascal
function GetTextCodePage(var T: Text): TSystemCodePage

Description

GetTextCodePage returns the codepage that the text file T uses. All strings written to the file will be converted to the indicated codepage. By default, the codepage is set to CP_ACP.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.