Hi all: While we are all discussing about PERL and scripting, here is a problem that I need help with.
The program has access to a buffer, say buf which is terminated by either '\0' or '\0\0'. Write a script to figure out if the buf has UTF-8 or UTF-16 character string and find out the i18n string. By way of background, IDN or Internalized Domain names are available now. wherein one can register a domain name in hindi (for example) - www. chachi no 1. in www - english . - ascii chachi- written in hindi no - english 1 - numeric one ascii . - ascii in - english Any suggestions on how to write a PERL (5, 6 or 7) script for the same. Thanks in advance. thanks Saifi.

