diff --git a/docs/xml/lazutils/lconvencoding.xml b/docs/xml/lazutils/lconvencoding.xml index 80061e8962..e038063aab 100644 --- a/docs/xml/lazutils/lconvencoding.xml +++ b/docs/xml/lazutils/lconvencoding.xml @@ -152,6 +152,9 @@ ConvertEncodingErrorRaisesException variable. Encoding name for Code Page 852. + +Encoding name for Code Page 865. + Encoding name for Code Page 866. @@ -336,14 +339,48 @@ corresponding conversion routines:
UTF8ToISO_8859_14
EncodingCPIso15 ('iso885915')
UTF8ToISO_8859_15
+
EncodingCPIso16 ('iso885916')
+
UTF8ToISO_8859_16
EncodingCP1250 ('cp1250')
UTF8ToCP1250
+
EncodingCP1251 ('cp1251')
+
UTF8ToCP1251
EncodingCP1252 ('cp1252')
UTF8ToCP1252
+
EncodingCP1253 ('cp1253')
+
UTF8ToCP1253
+
EncodingCP1254 ('cp1254')
+
UTF8ToCP1254
+
EncodingCP1255 ('cp1255')
+
UTF8ToCP1255
+
EncodingCP1256 ('cp1256')
+
UTF8ToCP1256
+
EncodingCP1257 ('cp1257')
+
UTF8ToCP1257
+
EncodingCP1258 ('cp1258')
+
UTF8ToCP1258
EncodingCP850 ('cp850')
UTF8ToCP850
+
EncodingCP852 ('cp852')
+
UTF8ToCP852
+
EncodingCP865 ('cp865')
+
UTF8ToCP865
+
EncodingCP866 ('cp866')
+
UTF8ToCP866
+
EncodingCP874 ('cp874')
+
UTF8ToCP874
EncodingCPKOI8R ('koi8r')
UTF8ToKOI8R
+
EncodingCPKOI8U ('koi8u')
+
UTF8ToKOI8U
+
EncodingCPKOI8RU ('koi8ru')
+
UTF8ToKOI8RU
+
EncodingCPMac ('macinstosh')
+
UTF8ToMacinstosh
+
EncodingUCS2LE ('ucs2le')
+
UTF8ToUCS2LE
+
EncodingUCS2BE ('ucs2be')
+
UTF8ToUCS2BE
EncodingAnsi ('ansi')
ConvertUTF8ToAnsi
@@ -439,12 +476,55 @@ corresponding conversion routines:
ISO_8859_16ToUTF8
EncodingCP1250 ('cp1250')
CP1250ToUTF8
+
EncodingCP1251 ('cp1251')
+
CP1251ToUTF8
EncodingCP1252 ('cp1252')
CP1252ToUTF8
+
EncodingCP1253 ('cp1253')
+
CP1253ToUTF8
+
EncodingCP1254 ('cp1254')
+
CP1254ToUTF8
+
EncodingCP1255 ('cp1255')
+
CP1255ToUTF8
+
EncodingCP1256 ('cp1256')
+
CP1256ToUTF8
+
EncodingCP1257 ('cp1257')
+
CP1257ToUTF8
+
EncodingCP1258 ('cp1258')
+
CP1258ToUTF8
+
EncodingCP437 ('cp437')
+
CP437ToUTF8
EncodingCP850 ('cp850')
CP850ToUTF8
+
EncodingCP852 ('cp852')
+
CP852ToUTF8
+
EncodingCP854 ('cp865')
+
CP865ToUTF8
+
EncodingCP866 ('cp866')
+
CP866ToUTF8
+
EncodingCP874 ('cp874')
+
CP874ToUTF8
+ +
EncodingCP932 ('cp932')
+
CP932TOUTF8
+
EncodingCP936 ('cp936')
+
CP936TOUTF8
+
EncodingCP949 ('cp949')
+
CP949TOUTF8
+
EncodingCP950 ('cp950')
+
CP950TOUTF8
EncodingCPKOI8R ('koi8r')
KOI8RToUTF8
+
EncodingCPKOI8U ('koi8u')
+
KOI8UToUTF8
+
EncodingCPKOI8RU ('koi8ru')
+
KOI8RUToUTF8
+
EncodingCPMac ('macinstosh')
+
MacintoshToUTF8
+
EncodingUCS2LE ('ucs2le')
+
UCS2LEToUTF8
+
EncodingUCS2BE ('ucs2be')
+
UCS2BEToUTF8
EncodingAnsi ('ansi') or the default text encoding for the platform
ConvertAnsiToUTF8
@@ -1222,6 +1302,23 @@ translation array in ArrayCP852ToUTF8. String with the value in Code Page 852 encoding. + +Converts a Code Page 852-encoded value to UTF-8. + +

+Calls SingleByteToUTF8 to convert the specified string using the character +translation array in ArrayCP865ToUTF8. +

+
+ +
+ +UTF-8-encoded value for the specified string. + + +String with the value in Code Page 865 encoding. + + Converts a Code Page 866-encoded value to UTF-8. @@ -2480,6 +2577,48 @@ if a code page is not used. + +Converts a string from UTF-8 encoding to Code Page 865. + +

+UTF8ToCP865 is a RawByteString function used to convert +a UTF-8-encoded string to the Code Page 865 (DOS Nordic) encoding. +

+

+For platforms where system code pages are enabled, SetCodePage is called to +convert the value to the DOS Nordic code page (865). 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 +UnicodeToCP865 to perform character conversions needed for the target +encoding. +

+

+UTF8ToCP865 is used in the implementation of the ConvertEncodingFromUTF8 +encoding conversion routine. +

+
+ + + +SetCodePage + +
+ +String value after conversion to Code Page 865. + + +UTF-8-encoded string value converted in the routine. + + + +True if the target code page is set in the return value, False +if a code page is not used. + + + Converts a string from UTF-8 encoding to Code Page 866. @@ -3091,6 +3230,7 @@ GetSupportedEncodings stores the following values in the List argument:
  • 'cp437' (EncodingCP437)
  • 'cp850' (EncodingCP850)
  • 'cp852' (EncodingCP852)
  • +
  • 'cp865' (EncodingCP865)
  • 'cp866' (EncodingCP866)
  • 'cp874' (EncodingCP874)