]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO...
authorBrion Vibber <brion@pobox.com>
Thu, 30 Sep 2010 18:29:31 +0000 (11:29 -0700)
committerBrion Vibber <brion@pobox.com>
Thu, 30 Sep 2010 18:29:31 +0000 (11:29 -0700)
commit1acc7d66c63e0b9f794791e3a2e2b0f60bc2ebb1
treeaab9121a9d831110e5282fc2a5c9f138a73b27f4
parent91f25ca8170fa537a80161ff80190eea55c88b06
Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping.
lib/activityobject.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/TwitterBridge/daemons/twitterstatusfetcher.php
scripts/importtwitteratom.php
scripts/install_cli.php
scripts/restoreuser.php