From: Richard L. <rl...@wi...> - 2006-02-10 20:41:58
|
On Fri, 2006-02-10 at 14:37 -0500, Ethan Blanton wrote: > Yeah, this might be the best way to do it ... but it's disgusting. > The Right Way to do it would be to set the locale to a UTF-8 locale > within Gaim, but unfortunately locale names are not at all portable. > I just poked through the locale functions, and didn't see a good way > to bind the current charset to UTF-8 regardless of locale. Ugh. Indeed. This will get better as people switch to UTF-8 as their charset. Then the conversion functions just become strdup()s. (And, as a side note, I'd like to someday optimize those out using Stringrefs, but that's a discussion for another day.) Thanks for the sanity check on this. I'm still fairly new to internationalization. Richard |