• Moderator Yui

    (@fierevere)


    永子

    Hello
    Version 5.1 introduced this change in code:

    
    --- csv-to-webpage-plugin/includes/data.php     2017-01-18 13:07:00.000000000 +0300
    +++ csv-to-webpage-plugin-new/includes/data.php 2017-10-18 22:26:06.149052985 +0300
    @@ -28,6 +28,7 @@
                                 $row =0;
                                 while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) 
                                 {
    +                                $data = array_map("utf8_encode", $data); 
                                     $read_csv_content[$row] = $data;
                                     $row++;
                                 }
    

    the utf8_encode function accepts data in ISO-8859-1 and converts it to utf8
    In case .csv files are already in utf8, the result of conversion will be garbage for non-latin characters

  • The topic ‘Displaying tables is broken after 5.1’ is closed to new replies.