GNOME Bugzilla – Bug 78710
No non-ASCII characters in config dialog, middle-click menu
Last modified: 2009-08-16 15:13:28 UTC
Sawfish config dialogs fail to display Korean characters with the following message : "WARNING **: Invalid UTF8 string passed to pango_layout_set_text()" One of the local GNOME hackers found that applications with similar problem (e.g. Pan, Xchat) can be fixed by using below code : bind_textdomain_codeset(PACKAGE, "UTF-8"); I'm not familiar with gtk programming so unable to confirm this but maybe this could help tracking down the problem anyway. Thanks. ================================================= Korean GNOME Community - http://gnome.or.kr
I was seeing the same problem with French strings. I attach a patch for librep and sawfish which fixes this problem
Created attachment 7960 [details] [review] patch for librep to wrap bind_textdomain_codeset
Created attachment 7961 [details] [review] Patch for sawfish to use this bindtextdomaincodeset function
*** Bug 78375 has been marked as a duplicate of this bug. ***
I strongly disagree with this GNOME2.0.1 keyword, it should be GNOME2.0.0 (if sawfish is the default wm for gnome2) Let's say I'm an i18n user. I installed GNOME2 because it has great i18n support with pango. I launch GNOME2, middle click on the desktop to get the sawfish menu, and don't get anything or truncated strings. I guess I would get a poor opinion of GNOME2 if that happens...
Thanks for the patches. I've applied them both, with some minor changes to make things be backwards compatible (this means that to get the new behaviour you'll need a new (currently cvs) librep, but nothing catastrophic will happen with the old librep)