Christopher Blizzard <blizzard redhat com> writes:
The string that's passed back to Nautilus through
gtk_moz_embed_get_title()isn't UTF-8. In fact, it's probably converted to a
C-string by chopping off thehigh bits.
Geez Chris. ;-) What possible use is UTF-16 or UCS-16 or whatever with
high bits chopped off? That doesn't work in any locale but latin-1.
You need to use
gtk_moz_embed_get_title_unichar() instead. Thiswill hand you back Mozilla's
internal UTF-16-like encoded string. You can use one of the conversion
functions to get a UTF-8 encoded string from that and then
you can convert it to the locale-specific encoding.
Sounds good.
Havoc