I've noticed that when importing CSV files with characters like "ñ" and sometimes with leading spaces, this warning is generated for every instance of the character:

Warning: htmlspecialchars(): Invalid multibyte sequence in argument in check_plain() (line 1521 of C:\inetpub\wwwroot\ewbcci\includes\bootstrap.inc).

After digging in DO I found out that this has been happening in other modules, like as mentioned in this post, this post and especially in this post because I'm also using IIS in my project. There is a temporary solution here but I don't think editing bootstrap.inc is wise.

Has anyone encountered and have tried to resolve this issue by any chance?

CommentFileSizeAuthor
#2 node_1_field_table_und_0.csv_.txt36 byteslolandese

Comments

Taxoman’s picture

Title: tablefield.module doesn't seem to support multibyte characters » tablefield.module should support multibyte characters
Version: 7.x-2.0-beta4 » 7.x-2.x-dev
Category: bug » feature
lolandese’s picture

Issue summary: View changes
Status: Active » Fixed
StatusFileSize
new36 bytes

Seems to be fixed in the latest dev version. Attached is a test CSV file (remove the _.txt at the end of the filename).

Feel free to reopen if you still experience this issue with the latest version.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.