I have a web application that gathers various data. When users enter pound
signs (english money not #) a number of strange characters get stored in the
database:
Here's a copy and paste:
£6.50 per hour
Now I'm 99% sure this will be because I am not handling the character sets and
encodings properly.
How should I set these up in order to work properly? It's one part of perl
coding that I still cannot claim to have a good understanding of.
The process is:
html web form
-> perl
-> mysql database
On the web page I have:
<meta name="content-type" content="text/html; charset=iso-8859-1" />
The collation on the db table is 'latin1_swedish_ci'.
Not sure about the Perl code itself?
Please help me to know what I'm doing!
Cheers,
Nigel
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/