[yocto] Why generated locales does not have .UTF-8 suffix?

Khem Raj raj.khem at gmail.com
Tue Mar 14 10:00:16 PDT 2017



On 3/14/17 9:50 AM, Fabio Emiliani wrote:
> Hi Khem,
> 
> unfortunatly doesn't work.
> 
> The IMAGE_LINGUAS variable can be valorized only with the suffixes of
> the locale-base-* packages. As of now my list of locale-base-* packages
> for en_US is:
> 
>> locale-base-en-us.iso-8859-1
>> locale-base-en-us
> no .utf8 suffix. That's strange, I'm not sure that the en_US locale I've
> generated supports UTF-8 encoding.

does this help ?

GLIBC_GENERATE_LOCALES = "de_DE en_US de_DE.UTF-8 en_US.UTF-8"
IMAGE_LINGUAS = "de-de en-us"


> 
> I've just opened a bug on bugzilla:
> 
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=11153
> 
> Any other ideas?
> 
> Thanks in advance for your time
> 
> Best regards,
> 
> Fabio Emiliani
> 
> Il 14/03/2017 17:39, Khem Raj ha scritto:
>>
>> On 3/14/17 8:36 AM, Fabio Emiliani wrote:
>>> Dear all,
>>>
>>> I've generated several locales specifying, in the local.conf file, the
>>> variable:
>>>
>>>> |IMAGE_LINGUAS = "de-de fr-fr en-gb en-gb.iso-8859-1 en-us
>>>> en-us.iso-8859-1 zh-cn"|
>>> inspecting the target file system, both in: /usr/share/locale and
>>> /usr/lib/locale, generated locales does not have the .UTF-8 suffix.
>>>
>> Perhaps adding en-gb.utf8 to IMAGE_LINGUAS might help you.
>>
>>> See:
>>>
>>>> |/usr/share/locale/ drwxr-xr-x 6 root root 416 Nov 17 2016 . drwxr-xr-x
>>>> 30 root root 2056 Nov 17 2016 .. drwxr-xr-x 4 root root 296 Nov 17
>>>> 2016 de drwxr-xr-x 3 root root 232 Nov 17 2016 en_GB drwxr-xr-x 4 root
>>>> root 296 Nov 17 2016 fr drwxr-xr-x 4 root root 296 Nov 17 2016 zh_CN|
>>> |and|
>>>
>>> ||
>>>
>>>> |/usr/lib/locale/ drwxr-xr-x 9 root root 640 Mar 13 2017 . drwxr-xr-x
>>>> 32 root root 40000 Mar 13 2017 .. drwxr-xr-x 3 root root 1016 Mar 13
>>>> 2017 de_DE drwxr-xr-x 3 root root 1016 Mar 13 2017 en_GB drwxr-xr-x 3
>>>> root root 1016 Mar 13 2017 en_GB.ISO-8859-1 drwxr-xr-x 3 root root
>>>> 1016 Mar 13 2017 en_US drwxr-xr-x 3 root root 1016 Mar 13 2017
>>>> en_US.ISO-8859-1 drwxr-xr-x 3 root root 1016 Mar 13 2017 fr_FR
>>>> drwxr-xr-x 3 root root 1016 Mar 13 2017 zh_CN|
>>> What is the character encoding of the following locales: de_DE, en_GB,
>>> en_US, fr_FR, zh_CN?
>>>
>>> Thanks in advance for your time
>>>
>>> Best regards,
>>>
>>> Fabio Emiliani
>>>
>>> -- 
>>>
>>> *Fabio Emiliani*
>>>
>>> */Software Engineer/*
>>>
>>> /Ph. +39 075 8298 530  /
>>>
>>> /fabio.emiliani at artgroup-spa.com/ <mailto:fabio.emiliani at artgroup-spa.com>
>>>
>>> DISCLAIMER
>>> This email and any attachment may contain confidential information. If
>>> you are not the intended recipient you are not authorised to copy or
>>> disclose all or any part of it without the prior written consent of ART SpA.
>>>
>>>  
>>>
>>> /ART SpA – Step Forward With US - //www.artgroup-spa.com/logo_ART_firma-1//
>>>
>>> /Ph. +39 075 8298 501 – Fax +39 075 8298 525 /
>>>
>>> P*Please consider our environment  before printing this e-mail***
>>>
>>>  
>>>
>>>
>>>
> 
> -- 
> 
> *Fabio Emiliani*
> 
> */Software Engineer/*
> 
> /Ph. +39 075 8298 530  /
> 
> /fabio.emiliani at artgroup-spa.com/ <mailto:fabio.emiliani at artgroup-spa.com>
> 
> DISCLAIMER
> This email and any attachment may contain confidential information. If
> you are not the intended recipient you are not authorised to copy or
> disclose all or any part of it without the prior written consent of ART SpA.
> 
>  
> 
> /ART SpA – Step Forward With US - //www.artgroup-spa.com/logo_ART_firma-1//
> 
> /Ph. +39 075 8298 501 – Fax +39 075 8298 525 /
> 
> P*Please consider our environment  before printing this e-mail***
> 
>  
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170314/62c3b633/attachment.pgp>


More information about the yocto mailing list