mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Make sure that ADIF logs are always handled as UTF-8 encoded to support international langs
This commit is contained in:
@@ -117,7 +117,7 @@ class ADIF_Parser
|
||||
|
||||
public function load_from_file($fname) //allows the user to accept a filename as input
|
||||
{
|
||||
$this->data = file_get_contents($fname);
|
||||
$this->data = $string = mb_convert_encoding(file_get_contents($fname), "UTF-8");
|
||||
}
|
||||
|
||||
//the following function does the processing of the array into its key and value pairs
|
||||
|
||||
Reference in New Issue
Block a user