Hi all:

Here is my problem. I have a script which processes input from a textarea which may have 'special characters' in it like ‘ or ’ etc.
Unfortunately what I am getting back are these ‘ or ’ respectively.


Script snippet start------------------

use CGI qw/:standard/;


print "Content-type: text/html\n\n"; $c = new CGI; $ta = $c->param('ta');


open (TIDYFILE,">c:/tmp/tidied.html"); print TIDYFILE $ta; close (TIDYFILE);


Script snippet end------------------


Any help appreciated.

Howard

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to