From 40e36a79a5fb2e683fb9213de138137178f5aec6 Mon Sep 17 00:00:00 2001 From: Jonny007-MKD Date: Thu, 4 Sep 2014 13:55:39 +0200 Subject: [PATCH] Added conversion of EPG file from LATIN1 to UTF8 for better Umlaut support --- saneRenamix.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/saneRenamix.sh b/saneRenamix.sh index 42c13f0..57b72fb 100755 --- a/saneRenamix.sh +++ b/saneRenamix.sh @@ -227,6 +227,8 @@ function funcGetEPG { eecho "Downloading $epg_csv failed (Exit code: $error)!" logNexit 40 fi + iconv -f LATIN1 -t utf8 "$wget_file" -o "${wget_file}.iconv" + mv "${wget_file}.iconv" "$wget_file" fi epg="$(grep "$series_title" "$wget_file" | grep "${file_time}")" # Get the line with the movie