2005-10-26 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/unicode.sgml: 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)
+
2005-10-05 Matthias Clasen <mclasen@redhat.com>
* glib/compiling.sgml: Document gmodule-no-export-2.0
<!-- ##### 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>