2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

98_weekprofile: fixed mutated vowels,

UTF8<->ASCII problem
writing ASCII, reading UTF8

git-svn-id: https://svn.fhem.de/fhem/trunk@11099 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
risiko79 2016-03-20 14:00:55 +00:00
parent 94c2b0a387
commit 671137c394
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- fixed: 98_weekprofile fix mutated vowels
- feature: 50_TelegramBot new option to retry for send &
confirmation dialog for favorites
- fixed: configDB.pm - fix filelist problem on perl >= 5.20

View File

@ -937,7 +937,8 @@ sub weekprofile_readProfilesFromFile(@)
return;
}
my $ret = open(my $fh, '<:encoding(UTF-8)', $filename);
#my $ret = open(my $fh, '<:encoding(UTF-8)', $filename);
my $ret = open(my $fh, '<', $filename);
if (!$ret){
Log3 $me, 1, "$me(readProfilesFromFile): Could not open file '$filename' $!";
return;