Hi, folks. I’ve been chasing a flashdata problem for a few hours, and finally found a simple test to illustrate the problem (CI 2.1). I’m running Apache 2.2.21 on XP.
This works just fine:
$strTest =' "Hello World" ';
However, this fails, showing no flashdata:
$strTest =' “Hello World” ';
Note that in the second example, the only difference is the use of the left and right double quotes (ASCII “ and ”), instead of the more common double quote (ASCII ").
Unfortunately, htmlspecialchars() doesn’t escape these double quote characters.
Am I missing something? Is there a character set restriction that I’m not aware of?
Thanks for any help.