How do I (unconditionally) enable unicode support in busybox?
Denys Vlasenko
vda.linux at googlemail.com
Mon Aug 11 18:31:00 UTC 2014
On Mon, Aug 11, 2014 at 8:22 PM, Harald Becker <ralda at gmx.de> wrote:
> Hi Denys !
>
> I looked a bit into James problem and were able to reproduce:
>
> sed s/./x/g
>
> on an UTF-8 locale matches every byte not on character as expected. This at
> least on current Ubuntu standard build of Buybox. Even if other UTF support
> seam to work, the regex scanner hast some trouble. This needs some more
> investigation.
Unfortunately, short of reimplementing regexp, we have to rely on libc here.
Which means, regexps will not be Unicode-aware if
CONFIG_UNICODE_USING_LOCALE is not set.
Or am I missing something? Do we also have a bug in
CONFIG_UNICODE_USING_LOCALE=y case?
More information about the busybox
mailing list