Hey guys,
I need to setup locale to display unicode charsets on my imx6 sabresd, i checked out LTIB(L3.0.35_4.1.0_130816), but found nothing related.
I have also tried oneiric ubuntu image, it works well.
so, I copied following files/dirs from oneiric rootfs to my sabresd linux:
/usr/sbin/locale
/usr/sbin/localedef
/usr/sbin/locale-gen
/usr/lib/locale
/usr/share/i18n
then, use 'locale-gen' to add/update locales,the command runs ok, and 'locale -a' could list out all the supported charset.
But some characters still cannot displayed after i changed locale by command "export LC_ALL=xxx" and "export LANG=xxx".
I found similar ticket here: Locale LTIB iMX, but no answer.
Is there any other easy way for imx charset setup? or any configuration files missed in my procedure?
Thanks.
解決済! 解決策の投稿を見る。
yes, add "libc locale files" support is first step.
then prepare those locale files (locale/localedef/locale-gen, charmap and i18n under usr/share) to generate correct locale env.
those files could be found under freescale oneiric rootfs use locale -a to confirm.
last, if you need to display wide-byte characters, remember to fix busybox bug (1.17+)for terminal output.
And, if you need usb vfat unicode support, dont forget to add unicode support in kernel nls options.
solved, please close it.
thanks.
I’m glad to hear you found a solution. I looked for an answer but there is no much information available regarding this, at least for LTIB or Linux for the i.MX families of processors.
I’ve tried to set it up on LTIB
$ ./ltib --configure
Then:
Toolchain component options --->
[*] libc locale files
But haven’t seen any changes. Did you changed it on /etc/locale.conf?
If you would please share the solution it would very likely help other users on the community.
yes, add "libc locale files" support is first step.
then prepare those locale files (locale/localedef/locale-gen, charmap and i18n under usr/share) to generate correct locale env.
those files could be found under freescale oneiric rootfs use locale -a to confirm.
last, if you need to display wide-byte characters, remember to fix busybox bug (1.17+)for terminal output.
And, if you need usb vfat unicode support, dont forget to add unicode support in kernel nls options.
Any suggestions or tips?
I am puzzled that as no more references of the charset setup on imx, how to do localization for different customers?