Skip to content

Commit 869a8ed

Browse files
committed
fix filename charset
1 parent d9b221d commit 869a8ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.1.0
1+
v0.1.1

files/downloader.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ for ITEM in "${DOWNLOADER_ITEMS[@]}"; do
8787
normalize-filename.sh "$WORKDIR"/*
8888

8989
if [[ "$RUN_FILENAME_SANITIZE" == true ]]; then
90-
rename --filename --unicode UTF-8 \
90+
rename --filename \
9191
-E 's/^.* - (.*) - /$1 - /' \
9292
-E 's/^((.*, ){3,}.*), .*( - )/$1$3/' \
9393
-E 's/\[(.*)\]/\($1\)/g' \
@@ -101,7 +101,7 @@ tok.*)\)//gi" \
101101
fi
102102

103103
if [[ -n "$NOTE" ]]; then
104-
rename --filename --unicode UTF-8 "s/^/${NOTE} - /" "$WORKDIR"/*
104+
rename --filename "s/^/${NOTE} - /" "$WORKDIR"/*
105105
fi
106106

107107
echo "Move file \"$(ls -A "$WORKDIR")\""

0 commit comments

Comments
 (0)