Fix support for Unicode input in GTK+ applications.
Fix support for multiple-character output strings.