Add a footnote about surrogate pairs. (#317683, Behdad Esfahbod)

2005-10-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/unicode.sgml: Add a footnote about surrogate
	pairs.  (#317683, Behdad Esfahbod)
This commit is contained in:
Matthias Clasen 2005-10-26 13:22:36 +00:00 committed by Matthias Clasen
parent 79fa3efec2
commit 8e3788a14a
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-10-26 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/unicode.sgml: Add a footnote about surrogate
pairs. (#317683, Behdad Esfahbod)
2005-10-05 Matthias Clasen <mclasen@redhat.com>
* glib/compiling.sgml: Document gmodule-no-export-2.0

View File

@ -40,7 +40,12 @@ A type which can hold any UCS-4 character code.
<!-- ##### TYPEDEF gunichar2 ##### -->
<para>
A type which can hold any UTF-16 character code.
A type which can hold any UTF-16 code
point<footnote id="utf16_surrogate_pairs">UTF-16 also has so called
<firstterm>surrogate pairs</firstterm> to encode characters beyond the
BMP as pairs of 16bit numbers. Surrogate pairs cannot be stored in a
single gunichar2 field, but all GLib functions accepting gunichar2 arrays
will correctly interpret surrogate pairs.</footnote>.
</para>