PHP pound sterling problem
Gary Stainburn
gary.stainburn at ringways.co.uk
Wed Jul 18 15:48:22 UTC 2007
Hi folks
I have an application written in PHP using Postgresql as the back end.
If I have a text box on a form and in it type a value including a pound sign
everything works fine. It is written to the database correctly, and then
read back and shown correctly on-screen.
However, in my code to generate a purchase order I embed the pound sign in a
string to be displayed and also to be used to update the database. In both
cases the pound sign is replaced by a non-standard character.
I assume this is because of a character encoding issue. Can someone tell me
what I need to change and to what.
Cheers
Gary
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
More information about the fedora-list
mailing list