Hi Nikhil,

On 29.03.23 at 08:47, nikhil wrote:
Currently busybox utilty "ls" fails to display filenames contains
UTF-8 characters and replaces with "?".

Steps to reproduce:
bin/busybox touch utf_test-Ü
bin/busybox ls utf_test-* > sample.log
bin/busybox cat sample.log
utf_test-??
bin/busybox hexdump -C sample.log | grep "c3 9c"

Therefore, above hexdump command is unable to find matching hex value
for the umlaute character.
Hence, change the libbb's printable_string() function to allow high ASCII
characters so that unicode filenames are displayed correctly.
This issue is not observed in upstream busybox.

Signed-off-by: Sana Kazi <[email protected]>
Signed-off-by: Sana Kazi <[email protected]>
Signed-off-by: Nikhil R <[email protected]>
---
  .../270-libbb_make_unicode_printable.patch    | 39 +++++++++++++++++++
  meta/recipes-core/busybox/busybox_1.31.1.bb   |  1 +
  2 files changed, 40 insertions(+)
  create mode 100644 
meta/recipes-core/busybox/busybox/270-libbb_make_unicode_printable.patch


Thanks for the patch!

There's an issue with your e-mail identity. You should add one thing to your git configuration, so that your patches are given an "Author" field which matches your "Signed-off-by" information. See https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded#Fixing_your_From_identity for details.

Thanks in advance
Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#179306): 
https://lists.openembedded.org/g/openembedded-core/message/179306
Mute This Topic: https://lists.openembedded.org/mt/97923178/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to