[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Droping 1200kB boot floppies - who minds?



Philip Blundell <pb@nexus.co.uk> cum veritate scripsit:

> On Mon, 2002-02-25 at 21:40, Eduard Bloch wrote:
> >  - to not break non-ASCII chars, LANG must be either C or a valid
> >    xx_YY.UTF-8 locale

I think LANG=C will cause the dialog boxes to have ??????? chars

> >  - LC_CTYPE must be a valid locale string (or I am misguided by the
> >    whiptail bug, see below)
> 
> I'm not completely convinced about these two.  That sounds to me like
> your whiptail is still not fully UTF-8 enabled. 
> 
> Remember that "de_DE.UTF-8" is not actually a valid locale string while
> dbootstrap is running.  From what I remember, the only locale for which
> the data files exist is C@utf-8.  The dbootstrap startup script sets
> LC_CTYPE=C@utf-8, which is necessary for dbootstrap itself to work, and
> this should be inherited by all its children.

Is it possible to satisfy them with a symlink ?

$ LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8 strace whiptail 2>&1 | grep local | grep 3
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_IDENTIFICATION", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_MEASUREMENT", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_TELEPHONE", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_ADDRESS", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_NAME", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_PAPER", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_MESSAGES", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_MONETARY", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_COLLATE", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_TIME", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_NUMERIC", O_RDONLY) = 3
open("/usr/lib/locale/ja_JP.utf8/LC_CTYPE", O_RDONLY) = 3


-- 
dancer@debian.org : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4



Reply to: