Skip to content

Commit bbfe081

Browse files
committed
gallery-dl_postprocessing_selector: Work around ip7z/7zip#36
1 parent f2f6f7e commit bbfe081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gallery-dl_postprocessing_selector.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ "$1" = png ]; then
77
elif [ "$1" = jpg ] || [ "$1" = jpeg ]; then
88
jpegoptim -p --strip-com --strip-iptc --strip-icc --strip-xmp "$inputfile" >/dev/null
99
elif [ "$1" = zip ] || [ "$1" = rar ] || [ "$1" = 7z ]; then
10-
7z x "$inputfile" -o"${inputfile%.*}" || exit 1
10+
LC_CTYPE=ja_JP.UTF-8 7z x "$inputfile" -o"${inputfile%.*}" || exit 1
1111
rm "$inputfile"
1212
find "${inputfile%.*}" -iname "*.png" -exec webpifier.sh {} \;
1313
find "${inputfile%.*}" -iname "*.jpg" -exec jpegoptim -p --workers=max --strip-com --strip-iptc --strip-icc --strip-xmp {} +

0 commit comments

Comments
 (0)