diff --git a/docs/xml/lazutils/lconvencoding.xml b/docs/xml/lazutils/lconvencoding.xml index 08873c5a30..21721b7138 100644 --- a/docs/xml/lazutils/lconvencoding.xml +++ b/docs/xml/lazutils/lconvencoding.xml @@ -3008,19 +3008,38 @@ output. -Converts a string value using Code Page 932 to UTF-8. + +Converts a string value using Code Page 932 to UTF-8. +

-CP932ToUTF8 is defined for platforms where Asian code pages are enabled. +CP932ToUTF8 is defined for platforms where Asian code pages are +enabled. It uses the byte maps defined for the Japanese Shift-JIS Double Byte +Character Set as defined for the Microsoft Windows Code Page 932. The internal +implementation ensures that single-byte half-width Katakana characters are +handled properly when converted to UTF-8.

+

+Specifically, the characters with an initial byte in the ranges $A0..$DF and +$FD..$FF. $A0, $FD, $FE, $FF are not allowed as the initial byte in a +Shift-JIS character. Other values in these ranges are treated as single-byte +half-width characters. + +Modified in LazUtils 4.0 to handle single-byte half-width Katakana character +ranges. + -String value after conversion to UTF-8 encoding. + +String value after conversion to UTF-8 encoding. + -String value using code page 932. + +String value using code page 932. +