Docs: LazUtils/lconvencoding. Fixes missing end tag in XML. Updates and reorganizes topic content.

This commit is contained in:
dsiders 2024-12-27 18:22:01 +00:00
parent 562e9fbe7c
commit 6a5c801d90

View File

@ -3015,15 +3015,15 @@ Converts a string value using Code Page 932 to UTF-8.
<p> <p>
<var>CP932ToUTF8</var> is defined for platforms where Asian code pages are <var>CP932ToUTF8</var> is defined for platforms where Asian code pages are
enabled. It uses the byte maps defined for the Japanese Shift-JIS Double Byte 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 Character Set as defined for the Microsoft Windows Code Page 932.
implementation ensures that single-byte half-width Katakana characters are
handled properly when converted to UTF-8.
</p> </p>
<p> <p>
Specifically, the characters with an initial byte in the ranges $A0..$DF and The internal implementation ensures that single-byte half-width Katakana
$FD..$FF. $A0, $FD, $FE, $FF are not allowed as the initial byte in a characters are handled properly when converted to UTF-8. Specifically, the
Shift-JIS character. Other values in these ranges are treated as single-byte characters with an initial byte in the ranges $A0..$DF and $FD..$FF. $A0, $FD,
half-width characters. $FE, $FF are not allowed as the initial byte in a Shift-JIS character. Values
in the range $A1..$DF are treated as single-byte half-width codepoints.
</p>
</descr> </descr>
<version> <version>
Modified in LazUtils 4.0 to handle single-byte half-width Katakana character Modified in LazUtils 4.0 to handle single-byte half-width Katakana character