Why are my double quote characters being translated?

I have the following code:

[php]
print “

[’’]”.’[""]

’;

print ‘\n”;
[/php]

The first line prints the single and double quote characters as expected, however, the other lines print what I assume to be utf translation of the double quote characters.

Can someone please explain what is going on?

Thanks,
Steve

As you said it is most likely an encoding issue, just put standard speech marks in their place, like in the first line and you should be sorted.

Sponsor our Newsletter | Privacy Policy | Terms of Service