From: Graham B. <gb...@po...> - 2000-11-23 07:24:26
|
On Wed, Nov 22, 2000 at 11:02:35AM +0000, Chris Ridd wrote: > Graham Barr <gb...@po...> wrote: > > On Tue, Nov 21, 2000 at 01:33:46PM +0000, Chris Ridd wrote: > >> So since Net::LDAP is character-set agnostic, it handles UTF-8 values OK. > >> What you do with the bytes of the value once you get them from Net::LDAP > >> is up to you. Presumably there are ways in perl 5.6 to convert a string > >> full of bytes which happen to be a UTF-8 representation of a string into > >> a string which is interpreted by perl as UTF-8. I seem to recall that > >> perl 5.6 has ways to do these conversions. > > > > In 5.6 (if Net::LDAP will work with 5.6) the strings should be returned as > > UTF8 IIRC. > > > > Graham. > > Even when talking to an LDAPv2 server? You don't know what character set is > being used by the LDAPv2 server, so converting to UTF-8 won't be possible. Hm, yes had not thought about that. Ah well if it causes a problem we will fix it. Graham. |