The last update breaks UTF-8 text CSV upload and import
-
Starting with the last 4.3 update, when uploading a UTF-8 CSV file, the plugin seems to “double-encode” the content. The culprit seems to be line 91 on the readAndDump function on st-daily-tip-admin.php, namely:
$line_of_text[$c] = utf8_encode($line_of_text[$c]);
I’ve also tried uploading a latin-1 encoded file, to no avail. Unwrapping $line_of_text[$c] from utf8_encode() seems to take care of the bug though.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘The last update breaks UTF-8 text CSV upload and import’ is closed to new replies.