On Wed, 05 Mar 2025 10:21:54 +0800, Ming Lei wrote:
The utf16_le_to_7bit function claims to, naively, convert a UTF-16 string to a 7-bit ASCII string. By naively, we mean that it:
- drops the first byte of every character in the original UTF-16 string
- checks if all characters are printable, and otherwise replaces them by exclamation mark "!".
This means that theoretically, all characters outside the 7-bit ASCII range should be replaced by another character. Examples:
[...]
Applied, thanks!
[1/1] block: fix conversion of GPT partition name to 7-bit (no commit info)
Best regards,