open UTF8FILE,'<:utf8','filename'; while () { /\p{Devangari}/ and print "A Devangari character!\n"; } close UTF8FILE;