PHP pound sterling problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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     


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux