On Sat, Oct 18, 2003 at 08:45:53PM +0200, Per Olofsson wrote: > So... what about using UTF-8 internally but converting strings to the > current locale when calling XmbDrawString? Or would that be too slow?
I don't know about the performance of iconv, but I don't like all the extra memory management even if it were fast. Maybe we should use the mb stuff, but only when the locale is utf-8 or 8-bit? This would require an awful kludge to check that the locale is really utf-8 or 8-bit (http://iki.fi/tuomov/lt.c should be such a kludge I wrote last spring, not sure if it works always or everwhere), changing the CF_UTF8 checks to run-time checks and abstracting some of the #ifdefed code from query/edln.c to ioncore/strings.c. -- Tuomo
