How do I (unconditionally) enable unicode support in busybox?

Denys Vlasenko vda.linux at googlemail.com
Tue Aug 12 14:39:10 UTC 2014


On Mon, Aug 11, 2014 at 8:58 PM, Harald Becker <ralda at gmx.de> wrote:
>> Changed this in git just now.
>>
>> Note: you will likely need to set $LANG in init's environment
>> for setlocale(LC_ALL, "") to activate Unicode for your init.
>
>
> I don't see how init itself shall benefit from UTF8 support? in just forks
> and starts other processes with a copy of it's environment. Does init
> anything which needs UTF-8 support?

We run setlocale("") for all applets. If we exclude init,
why not exclude e.g. mkdir?

I went with the code which is smaller. If someone reports that setlocale()
in init is *harmful* in some way, I can reinstate it - this time
with a comment!


More information about the busybox mailing list