- /* GLib has a function that converts _one_ UCS-4 character to _one_
- titlecase UCS-4 character; so apparently we don't have to worry about the
- string length changing... */
+ /* FIXME: This is wrong. g_unichar_totitle() which returns the titlecase of
+ one Unicode code point, but that only returns the correct result if the
+ titlecase character is also one code point.
+ For example, the one-character 'ffi' ligature should be title-cased to the
+ three-character string 'Ffi'. This code leaves it as the 'ffi' ligature,
+ which is incorrect.
+ However, nothing much can be done about it unless GLib gets a
+ g_utf8_strtitle() function, or we roll our own. */