setting a default LANG option for unicode, ash shell - patch

Harald Becker ralda at gmx.de
Thu Jun 12 10:03:58 UTC 2014


Hi Richard !

>This little patch sets a default utf8 LANG option for the ash
>shell so you don't need to try and export it, it will just work
>from the get go. Hope it is of some use to someone.

Beside that there are possibilities to automate the setting of
environment variables, it's good idea to have a default LANG
setting in ash ... but default means you shall keep an eye on not
overwriting a existing LANG setting in environment. That is,
don't set environment variable, when variable of this name
already exist. Otherwise you will overwrite users choice, with
the setting you call "default" setting. English/US is not
everybody best choice.

... but as no LANG setting means POSIX C language setting, the
en_US.UTF-8 is not too bad.

--
Harald


More information about the busybox mailing list