| [Overview][Constants][Types][Procedures and functions][Variables][Index] | 
Converts a string from UTF-8 encoding to ISO 8859-7.
Source position: lconvencoding.pas line 175
function UTF8ToISO_8859_7(  | 
const s: string;  | 
SetTargetCodePage: Boolean = False  | 
s  | 
  | 
UTF-8-encoded string value converted in the routine.  | 
SetTargetCodePage  | 
  | 
True if the target code page is set in the return value, False if the default system code page (CP_ACP) is used.  | 
String value after conversion to ISO 8859-7.
UTF8ToISO_8859_7 is a RawByteString function used to convert a UTF-8-encoded string to the ISO 8859-7 (Latin/Greek) encoding.
For platforms where system code pages are enabled, SetCodePage is called to convert the value to the ISO 8859-7 code page (28597). If SetTargetCodePage is False, SetCodePage is called again to apply the CP_ACP (ANSI) code page in the return value.
For other platforms, the UTF8ToSingleByte routine is called using UnicodeToISO_8859_7 to perform character conversions needed for the target encoding.
UTF8ToISO_8859_7 is used in the implementation of the ConvertEncodingFromUTF8 encoding conversion routine.
  | 
Converts the encoded value from UTF-8 to the encoding with the specified name.  | 
|
  | 
Converts a UTF-8-encoded string value to a single-bye character set using a conversion function.  | 
|
| Version 4.0 | Generated 2025-05-03 | Home |