GetTextCodePage¶
Get the codepage used in a text file.
Declaration¶
Source position: systemh.inc line 1532
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¶
| Name | Description |
|---|---|
| TextRec | Text file type. |
| SetTextCodePage | Set the codepage used in a text file. |