[Bug 6356] Unicode support logic badly broken

bugzilla at busybox.net bugzilla at busybox.net
Mon Jul 1 03:06:02 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6356

--- Comment #2 from bugdal at aerifal.cx 2013-07-01 03:04:10 UTC ---
I realize I should have been more clear. I am not talking about message
translation or any other i18n features, purely processing character data as
UTF-8 rather than a legacy 8bit codepage.

Assuming busybox was compiled to use the system locale for Unicode, and is
built against glibc or uClibc, the following commands should reproduce the bug:

unset LANG LC_ALL LC_CTYPE
LC_CTYPE=en_US.UTF-8 busybox ash

The expected behavior is that UTF-8 line editing works, since the LC_CTYPE
category is set to a UTF-8 locale. The bug is that it doesn't work because
busybox is only inspecting the LANG variable rather than letting the system
locale selection logic do its thing.

I posted more about the issue on the mailing list, in this thread:
http://lists.busybox.net/pipermail/busybox/2013-June/079463.html

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list