diff options
| author | Elliott Hughes <enh@google.com> | 2016-10-24 14:50:31 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2016-10-24 14:50:31 -0700 |
| commit | 53de874c3cd5b8aa243546bb1c206f5a709db1fd (patch) | |
| tree | 982316adf0c878fb85bf7c4579a04c4f631424dc /libc/malloc_debug/malloc_debug.cpp | |
| parent | bd839d100d1c4802cf53f3d27bb73e6032719762 (diff) | |
The default locale "" should be a UTF-8 locale.
"ls -q" (or "adb shell -tt ls") was mangling non-ASCII because mbrtowc
was returning multibyte characters as their individual bytes. This was
because toybox asks for "" rather than "C.UTF-8", and for some reason
we were interpreting that as "C" rather than "C.UTF-8".
Test: bionic tests, ls
Change-Id: Ic60e3b90cd5fe689e5489fad0d5d91062b9594ed
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions
