Unicode Character Check in Perl
Hi,
I have a string in $str. I need to verify whether that string has unicode characters or not using perl. How to do that? thanks in advance Jagadish |
see here for some inspiration
|
Thanks for ur reply
I hv used following regex to check for unicode characters in a string if ($str =~ /[^[:ascii]]/) { print "Unicode character is there in the string" } Now it works |
All times are GMT -5. The time now is 01:14 AM. |