Hi, when user submit a photo, all text are encoded corectly just the name of the author when using special characters seem to be broken. How to solve this?
Hi, when user submit a photo, all text are encoded corectly just the name of the author when using special characters seem to be broken. How to solve this?
replace in line 312 (version 1 of plugin)
update_post_meta($newPost, $this->_post_meta_Submitter, htmlentities(($authorName)));
to
update_post_meta($newPost, $this->_post_meta_Submitter, htmlentities($authorName, ENT_QUOTES, "UTF-8"));
this helped me with russian characters, this is because the function htmlentities default encoding is ISO-8859-1
damneg looks correct, will implement this in the next update.
You must log in to post.