Public bug reported: 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 the file is extracted fine and it is the same as before. Adding 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 (or unshar, or change it into an executable file and execute it) 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 you may have problems e-mailing files produced with the -T flag, but this goes beyond mailing -- the file itself is corrupted. ** Affects: sharutils (Ubuntu) Importance: Undecided Status: New ** Tags: utf8 ** Attachment added: "File that generate the problem" https://bugs.launchpad.net/bugs/1952491/+attachment/5543721/+files/problem.tex -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1952491 Title: shar fails on some UTF-8 text files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sharutils/+bug/1952491/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs