How can I show just the £ like you can just by entering the $? I am using ISO-8859-1 for my character set.
Have a look at this thread
What should I do if I have made an AJAX request and return some XML, like
I can output the string in Firefox just fine but trying to do the same in IE simply shows !" instead of !"£$%^...so obviously the pound sign is causing a problem...I am not too sure about how I can fix my problem I am having with IE. Does anyone have any idea on this one please?
Can you alert the value successfully?
If not, it might be misreading the xml value.
No unfortunately not...in the database the value is '£'
Then I use the PHP function htmlentities which converts this to £ so it transferred as well formed XML which meant I also had to add an entity reference in my XML to display £ as £.
I have found a work around but I really don't think it's the best idea
In my PHP service I replace '£' with '\u00A3' and display XML
This topic is now closed. New replies are no longer allowed.