mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-18 18:16:03 +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:
parent
94c2b0a387
commit
671137c394
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# 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 &
|
- feature: 50_TelegramBot new option to retry for send &
|
||||||
confirmation dialog for favorites
|
confirmation dialog for favorites
|
||||||
- fixed: configDB.pm - fix filelist problem on perl >= 5.20
|
- fixed: configDB.pm - fix filelist problem on perl >= 5.20
|
||||||
|
@ -937,7 +937,8 @@ sub weekprofile_readProfilesFromFile(@)
|
|||||||
return;
|
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){
|
if (!$ret){
|
||||||
Log3 $me, 1, "$me(readProfilesFromFile): Could not open file '$filename' $!";
|
Log3 $me, 1, "$me(readProfilesFromFile): Could not open file '$filename' $!";
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user