Re: html_entity_decode is trying to kill me
| From: | Marc Guay | Date: | Fri, 17 Feb 2012 17:46:49 +0000 |
| Subject: | Re: html_entity_decode is trying to kill me | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316714@lists.php.net to get a copy of this message | ||
It actually works for me as well if I run it in the browser. The
structure of the app is a bit strange, though, so debugging character
encoding issues is quite difficult. The code is being run by Code
Igniter in the backend and the response passed via JSON to a ExtJS 4
frontend, so what I'm looking at to debug is the server's response in
the browser console. What I can say is that I decode the string and
pass it immediately afterwards to the EvalMath class that was
suggested earlier, it complains that there's illegal characters
"<", so obviously it's the server that isn't operating as
expected... but why?
PHP/5.3.2-1ubuntu4.14
Apache/2.2.14