[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Converts an OEM-encoded string to UTF8.
Source position: lazutf8.pas line 53
function ConsoleToUTF8( |
const s: string |
):string; |
s |
|
Value to convert in the function. |
UTF-8-encoded value for the specified string.
ConsoleToUTF8 is a String function used to converts an OEM-encoded string to UTF8. The implementation of ConsoleToUTF8 is OS-specific, and essentially handles differences between various Windows platforms where use of OemToChar and WinCPToUTF8 are required. For UNIX-like environments, the value in s is converted by calling SysToUTF8.
ConsoleToUTF8 is used in the implementation of the GetEnvironmentStringUTF8 and GetEnvironmentVariableUTF8 functions.
|
Converts strings (and format settings) from the system codepage to UTF-8. |
|
|
Converts the string from Windows code page to UTF-8. |
|
|
Returns a system environment string. |
|
|
Returns the value of a system environment variable. |
Version 3.2 | Generated 2024-02-25 | Home |