Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

The last update breaks UTF-8 text CSV upload and import

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 59525

Trending Articles