[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request: utf-8 support in `strings`
From: |
Nick Clifton |
Subject: |
Re: Request: utf-8 support in `strings` |
Date: |
Fri, 23 Aug 2019 13:52:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
Hi B9,
> "Strings" is a fabulous and under-appreciated program. However, it only works
> on text which has a fixed number of bytes per character such as Latin-1 or
> UTF-16. Since almost all Unix systems now default to UTF-8 (which can be from
> 1 to 6 bytes long), it would be wonderful if strings was updated to handle it.
Would you mind opening a bugzilla request for this enhancement ?
https://sourceware.org/bugzilla/enter_bug.cgi?product=binutils
This will help us track the problem, and provide a suitable place
for other people to comment on the issue.
If possible, it would also help if you were able to provide a small
test file that uses UTF-8 encoding with at least some characters
being more than 1 byte long. Supplying the correct decoding of these
strings would also help in order to make sure that we get the code
right.
Cheers
Nick