On Saturday, 31 July 2010, at 09:25:17 (+0200), Kim Woelders wrote: > It looks like many programs request UTF8_STRING and not STRING. > > I'm no expert on selections but if I'm not mistaken this change > would make us give a STRING regardless of what we were asked for. > It would then be up to the requestor to convert that to utf8. I > guess that's ok. > > The alternative would be to test for UTF8_STRING and do a conversion, but > IMO that might as well wait for Eterm to actually become utf8-aware. > > Michael?
If answering back with a string doesn't break clients requesting a UTF8_STRING, I'm inclined to go that route. I don't have a problem, per se, with answering in UTF-8, but I'm not sure if the new UTF-8 Xlib calls are portable to non-Linux/non-Xorg platforms (Solaris? HP-UX? AIX?). I'd feel a lot more comfortable going down that road if someone who knows those other OS's can comment. Does anyone know if XA_UTF8_STRING and XUTF8StringStyle are present on any of those platforms? Paolo, would you mind updating your patch to force XA_STRING if XA_UTF8_STRING is not defined, and do the UTF-8 conversion if it is? Other opinions? BTW, the UTF-8-enabled Eterm is in the Eterm-0.10 branch in SVN if anyone wants to help test. Thanks for the patch! Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <m...@kainx.org> Linux Server/Cluster Admin, LBL.gov Author, Eterm (www.eterm.org) ----------------------------------------------------------------------- "No one knows the shape of that future or where it will take us. We know only that it is always born in pain." -- G'Kar, Babylon 5 ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel