does the data contain \0 null bytes On Wed, Feb 16, 2022 at 11:20 AM David <bouncingc...@gmail.com> wrote:
> On Wed, 16 Feb 2022 at 19:38, Daniel Qian <chanjars...@gmail.com> wrote: > > > I encountered a problem that long variable value get corrupted sometimes. > > > A UTF-8 encoded file containing a lot of Chinese characters, file size > ~35K. > > > FOO=$(cat /tmp/foo.txt) > > Hi, this looks like something that was recently fixed, perhaps > you can try this patch: > https://savannah.gnu.org/patch/?10035 > >