vasanthgk91 has asked for the wisdom of the Perl Monks concerning the following question:
I passing the data from html page(contactus.html) to cgi page.Every time I passing Other language string as input.Showing wrong length.
use HTML::Entities; use CGI; my $cgi=new CGI; my $message=$cgi->param('message'); $message=decode_entities($message); my $message_fld_length=length($message); print "$message_fld_length";
The same code working... I passing the data from cgi page(contactus.cgi) to cgi page.I passing other language data as input.Here length working good. Can u please give a suggestion.Why input coming from html page na not working decode_entites.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: HTML::Entities not working
by muba (Priest) on Jun 19, 2013 at 08:31 UTC | |
by vasanthgk91 (Sexton) on Jun 19, 2013 at 09:14 UTC | |
by Corion (Patriarch) on Jun 19, 2013 at 09:29 UTC | |
by vasanthgk91 (Sexton) on Jun 20, 2013 at 05:42 UTC | |
by muba (Priest) on Jun 19, 2013 at 15:27 UTC | |
by vasanthgk91 (Sexton) on Jun 20, 2013 at 05:43 UTC |
Back to
Seekers of Perl Wisdom