I\'m having a strange problem when retrieving JSON formatted text. I use jQuery post to send some data (also JSON formatted) to the server (running PHP) which w
post
If the other responses didn't work, it's possible to strip all whitespace characters except the space.
PHP $text = trim(preg_replace( "/[\\x00-\\x19]+/" , '' , $text));
From: https://github.com/joomla/joomla-cms/issues/14502