typedef guint16 gunichar2;
A type which can hold any UTF-16 code
point[3].
To print/scan values of this type to/from text you need to convert
to/from UTF-8, using g_utf16_to_utf8()/g_utf8_to_utf16().
To print/scan values of this type as integer, use
G_GINT16_MODIFIER and/or G_GUINT16_FORMAT.
typedef guint16 gunichar2; A type which can hold any UTF-16 code point[3]. To print/scan values of this type to/from text you need to convert to/from UTF-8, using g_utf16_to_utf8()/g_utf8_to_utf16(). To print/scan values of this type as integer, use G_GINT16_MODIFIER and/or G_GUINT16_FORMAT.