{"id":5566837,"date":"2014-12-11T09:42:00","date_gmt":"2014-12-11T09:42:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/substr-encoding-problems\/"},"modified":"2016-08-22T13:25:28","modified_gmt":"2016-08-22T13:25:28","slug":"substr-encoding-problems","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/substr-encoding-problems\/","title":{"rendered":"substr encoding problems"},"content":{"rendered":"<p>First of all: Thanks for this great and easy to use plugin!<br \/>\nBut I had some issues with unicode characters in the portfolio content. I resolved it by changing line 28 in shortcode-data.php to<br \/>\n<code>$newString = mb_substr($string, 0, 50, mb_detect_encoding($string));<\/code><br \/>\nI just wanted to let you know, maybe others have the same problem \ud83d\ude09<\/p>\n<p>https:\/\/wordpress.org\/plugins\/full-width-responsive-portfolio\/<\/p>\n","protected":false},"template":"","class_list":["post-5566837","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5566837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5566837\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5566837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}