perl-unicode

perl-unicode-cgi problem

2001-09-23 09:52:30
hello,
I'm using perl 5.6 on a Red Hat Linux 6.2 and have the following problem with using utf-8 encoding:

in my cgi program the "length()" function does not work correctly with utf-8 if the input string is the parameter passed (by get method for instance) from an html form(in this case "length()" will return the number of bytes instead the length of the string) else it works correctly.

please tell me what should I do to solve this problem?

Regards
R.Pirshayan

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

<Prev in Thread] Current Thread [Next in Thread>