The ASCII character set encoding is included in (proper subset of ) UTF-8.
UTF-8 also includes many characters that cannot be mapped to ASCII.
Are you planning to discard them?
See the Perl, Unicode and I18N FAQ at http://rf.net/~james/perli18n.html
to learn more. (I should add an LDAP section, I guess.)
James.
Piyamart Kumsaikaew wrote:
> Dear All,.
> Now i use perl to interface LDAP. But i have some problems that
> LDAP's data format is UTF8 but i want to convert UTF8 to ASCII. Do you
> know perl have function to convert its? If you know or you have a
> suggestion please tell to me.
> Regards,.
> P. Kumsaikaew
--
ConcertTime.com - Your Music Connection
http://www.concerttime.com