Re: Translating a Latin-1 string to a UTF8 string in Perl 5.6.1

2001-12-11 Thread Jarkko Hietaniemi
On Tue, Dec 11, 2001 at 07:00:20PM -0600, Michael A. Grady wrote: > Now that Perl 5.6.1 has removed support for tr///CU, is there still > an easy way to take a latin-1 character string and convert it to > a UTF8 string? I need to do that for generating LDIF files to load > into an LDAP server. N

Translating a Latin-1 string to a UTF8 string in Perl 5.6.1

2001-12-11 Thread Michael A. Grady
Now that Perl 5.6.1 has removed support for tr///CU, is there still an easy way to take a latin-1 character string and convert it to a UTF8 string? I need to do that for generating LDIF files to load into an LDAP server. I saw mention of using pack('U0',...), but I can't figure out how that actu