On Wed, Jul 11, 2012 at 4:35 PM, Flávio Alberto <flavioalsoa...@gmail.com> wrote: > Thank you Ezequiel, > it means that there's no way to change "automatically" DirectFB behaviour to > show fonts that came in ISO-8859-15 (Latin9) in a UTF-8 system wide ? > > I thought it enough reconfigure the system locales and change some > system variables (LANG and LC_* variables) to use these new locales, but > searching more on Ubuntu (10.10) I noticed that Ubuntu doesn't has any > mention on files "encodings.dir" (for example > /usr/share/fonts/X11/encodings/encodings.dir) to string "iso8859-15" and on > this same directory (/usr/share/fonts/X11/encodings) there's none > iso8859-15.enc.gz. > Is this the infrastructure that provides support to encoding ? > To provides ISO-8859-15 "automatically" to system I need provide these > corrected files (iso8859-16.enc.gz and encodings.dir ) ? >
As I don't work on Ubuntu I have very little idea what you're talking about, sorry :-( However, as Sven pointed out, DirectFB is expecting strings in UTF-8 and there is no way to change this behavior. You may use iconv (also as Sven suggested). For embedded devices I found it was easier to just hard-translate the strings (I tried iconv but couldn't make it work, don't really recall why). Despite the chosen method, translation is perfectly possible in every possible scenario and I think you won't have any problems. Good luck, Ezequiel. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev