I have this html form that takes in an input of up to 40 characters.
But if someone puts a latin character, it is always takes up 2 characters.
For example, if I put
"הההההההההההההההההההההההההההההההההההההההה"
into the field and submit the form, calling length($input) returns 40 (should be 20).
I've googled forever and I thought use bytes might be my answer, but it isn't i think.
any help would be appreciated on how to properly get length 20 instead of 40.
btw i'm using perl 5.8