|
From: | Chet Ramey |
Subject: | Re: Corrupted multibyte characters in command substitutions fixes may be worse than problem. |
Date: | Sun, 6 Feb 2022 21:37:44 -0500 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 |
On 2/6/22 5:11 PM, Alex fxmbsw7 Ratchev wrote:
i just have a small question here the dropping of null bytes is no friend of me and i understand you're there to skip it instead of process, which results in null bytes gone which is not much of an use can't these \0 bytes be encoded at least when a utf8 locale is used as \u0 instead of dropping ? <the two utf 8 bytes> and a null, ... just prefix the utf 8 encoding chars to the null and they'd be safely maybe still here
OK, say they're still there. What use are they? What are you going to do with them? -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |