[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Problems with case folding of UTF-8
"Kurt D. Zeilenga" wrote:
>
> At 10:35 AM 2001-12-22, Michael Ströder wrote:
> >Stig Venaas wrote:
> >>
> >> The DN in base64 is Y249U3RpZyBWZW7DpXMsIGRjPW15LWRvbWFpbixkYz1jb20
> >
> >Are you sure about that being properly base64-encoded?
>
> echo -n 'Y249U3RpZyBWZW7DpXMsIGRjPW15LWRvbWFpbixkYz1jb20' \
> | b64d | hexdump -C
> 00000000 63 6e 3d 53 74 69 67 20 56 65 6e c3 a5 73 2c 20 |cn=Stig Ven..s, |
> 00000010 64 63 3d 6d 79 2d 64 6f 6d 61 69 6e 2c 64 63 3d |dc=my-domain,dc=|
> 00000020 63 6f 6d |com|
> 00000023
>
> (b64d is a alias which uses perl to decode the base64)
Perl, bah! I'm more in favor of strict environments. ;-)
Well, the right moment to ask whether OpenLDAP's UTF-8 decoder is
also strict (see section 6 of RFC 2279).
Ciao, Michael.