[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug on shar (GNU sharutils) 4.15.2
From: |
Paulo Ney de Souza |
Subject: |
bug on shar (GNU sharutils) 4.15.2 |
Date: |
Fri, 26 Nov 2021 14:01:50 -0800 |
When I do shar -T test.tex > file.shar on the one-liner file, encoded in
UTF-8:
\chapter{Séries}
everything works fine, and when executing sh file.shar (or unshar) the file
is extracted fine and it is the same as before.
Adding a one line to it and turning the file into:
\chapter{Séries}
Séries de potências são essenciais no estudo das funções.
the same command produces a shar file that contains the text. But when we
execute sh it fails the MD5 check upon extraction:
$ sh file.shar
x - created lock directory _sh06764.
x - extracting test.tex (text)
test.tex: MD5 check failed
x - removed lock directory _sh06764.
and it produces a file that is recognized as ISO-8859 text and it has all
accents messed up, as in:
\chapter{Séries}
S©ries de potências são essenciais no estudo das funções.
I know the manual says that the you may have problems e-mailing files
produced with the -T flag, but this goes beyond mailing -- the file itself
is corrupted.
Paulo Ney
- bug on shar (GNU sharutils) 4.15.2,
Paulo Ney de Souza <=