[yocto] UTF-89 support

Daniel. danielhilst at gmail.com
Mon Nov 7 04:17:21 PST 2016


2016-11-07 9:48 GMT-02:00 Keskinarkaus, Teemu
<teemu.keskinarkaus at crosscontrol.com>:
> Hi,
>
>
>
> I tried googling this and reading the manual, but I guess this is too
> trivial or I’m doing something wrong.
>
>
>
> I’m trying to get UTF-8 support to my image. UTF-8 locale more specific. If
> I run locale –a command I get these locales listed:
>
> C
>
> POSIX
>
> en_GB
>
> en_US
>
>
>
> I added this line to my local.conf:
>
> GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8 en_GB en_US"
>
>
>
> That didn’t bring UTF-8 locales although by looking at the comment I would
> assume they should be already there?  I’m not entirely sure why the UTF-8
> locales are still missing and how do I get them there?
>
>
>
>
>
> Teemu Keskinarkaus
> Software system engineer
> Cell: +358 400 330047
> Fax: +358 207 669199
> www.crosscontrol.com
>
> CrossControl
>
> making machines smart, safe and productive
>
>
>
>
> ________________________________
>
> Actuant Corporation Email Notice
>
> This message is intended only for the use of the Addressee and may contain
> information that is PRIVILEGED and/or CONFIDENTIAL.
> This email is intended only for the personal and confidential use of the
> recipient(s) named above. If the reader of this email is not an intended
> recipient, you have received this email in error and any review,
> dissemination, distribution or copying is strictly prohibited.
> If you have received this email in error, please notify the sender
> immediately by return mail and permanently delete the copy you received.
>
> Thank you.
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

Did you setted ENABLE_BINARY_LOCALE_GENERATION?

>From http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/glibc/glibc-locale.inc

> # Binary locales are generated at build time if ENABLE_BINARY_LOCALE_GENERATION
> # is set. The idea is to avoid running localedef on the target (at first boot)
> # to decrease initial boot time and avoid localedef being killed by the OOM
> # killer which used to effectively break i18n on machines with < 128MB RAM.
>
> # default to disabled
> ENABLE_BINARY_LOCALE_GENERATION ?= "0"

-- 
"Do or do not. There is no try"
  Yoda Master



More information about the yocto mailing list