← Back to team overview

ubuntu-phone team mailing list archive

Re: Default Locale for images

 

On Fri, Mar 28, 2014 at 03:30:19PM -0400, Nicholas Skaggs wrote:
> Well investigating an issue that popped up running some autopilot
> tests (thanks popey), I discovered with Barry that the locale for
> the default images is posix, at least for the root account. The
> phablet user seems to be set properly as utf-8.
> 
> root@ubuntu-phablet:/# locale
> LANG=
> LANGUAGE=
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME="POSIX"
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LC_PAPER="POSIX"
> LC_NAME="POSIX"
> LC_ADDRESS="POSIX"
> LC_TELEPHONE="POSIX"
> LC_MEASUREMENT="POSIX"
> LC_IDENTIFICATION="POSIX"
> LC_ALL=
> root@ubuntu-phablet:/# su phablet
> phablet@ubuntu-phablet:/$ locale
> LANG=en_US.UTF-8
> LANGUAGE=en_US:en
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT="en_US.UTF-8"
> LC_IDENTIFICATION="en_US.UTF-8"
> LC_ALL=
> 
> Is there a reason for this?

I doubt it's intentional, instead my guess would be that adb which you
appear to be using above simply doesn't bother setting those environment
variables (which makes sense considering Android doesn't have anything
like /etc/default/locale).

> 
> Nicholas
> 
> -- 
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature


Follow ups

References