]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix 'test_pax_filename_encoding_UTF16_win' by explicitly setting hdrcharset (#2248)
authorDuncan Horn <40036384+dunhor@users.noreply.github.com>
Sun, 7 Jul 2024 17:52:25 +0000 (10:52 -0700)
committerGitHub <noreply@github.com>
Sun, 7 Jul 2024 17:52:25 +0000 (19:52 +0200)
commit9fa8449fbc72d077ba1b04370af0803fd129e5b3
treeaed2d286e797b246d82db236280c0ec2af81a57e
parent6db1836fa6bf8501f907170f6a60da5c5e502913
Fix 'test_pax_filename_encoding_UTF16_win' by explicitly setting hdrcharset (#2248)

It would seem as though #2127 conflicted with my change #2228.

I previously thought that the writer was putting info into the archive
that strings were encoded in UTF-8, but I'm not so sure of that
anymore... In any case, explicitly setting `hdrcharset` on the reader as
well is a reasonable alternative and something we do already.
libarchive/test/test_pax_filename_encoding.c