[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Gets the encoding used for a console application on the platform.
Source position: lconvencoding.pas line 122
function GetConsoleTextEncoding: string; |
Name of the encoding used for text in a console application.
GetConsoleTextEncoding is String function which gets the encoding name used for console applications.
The return value may differ from the normal system encoding on some Windows versions, where the OEM code page is used for a console application. For more details, see: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/20552.
For all other platforms, the value from GetDefaultTextEncoding is used in the return value. The return value is normalized (hyphen characters removed and converted to lowercase).
|
Gets the name for the default text encoding used on the platform or operating system. |
|
|
Converts the specified encoding name to lowercase and removes '-' characters. |
Version 3.2 | Generated 2024-02-25 | Home |