Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: how to calculate the length for other language content in PERL?

by vasanthgk91 (Sexton)
on May 20, 2013 at 09:38 UTC ( #1034311=note: print w/ replies, xml ) Need Help??


in reply to Re^5: how to calculate the length for other language content in PERL?
in thread how to calculate the length for other language content in PERL?

HTML decode_entities I used previously purpose for getting length in perl. But today I have problem for that length wrong for text area value receive. I receive the text value from param that length working properly but text area receive from param..It shows wrong length for me.

Please give a suggestion


Comment on Re^6: how to calculate the length for other language content in PERL?
Re^7: how to calculate the length for other language content in PERL?
by vasanthgk91 (Sexton) on May 20, 2013 at 10:42 UTC
    $release_content=$prl->trim($release_content); my $release_txt_removing_line=$release_content; $release_txt_removing_line=~ s/\n//g; $release_txt_removing_line=decode_entities($release_txt_removing_line) +; my $release_content_length=length($release_txt_removing_line); $release_txt_removing_line=encode_entities($release_txt_removing_line) +; print "==$release_content_length==";

    It's working...textarea value we need to remove the \n.Thank u

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-12-25 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls