Sign in Join
FPDoc Onlineexperiment

SetTextCodePage procedure

In unit System

Set the codepage used in a text file.

Declaration

pascal
procedure SetTextCodePage(var T: Text; CodePage: TSystemCodePage)

Description

GetTextCodePage sets 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.