[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problems with case folding of UTF-8



> On Sat, Dec 22, 2001 at 07:32:34PM +0100, Pierangelo Masarati wrote:
> > 	"cn=Stig Ven\<hex><hex>s, dc=my-domain,dc=com"
> 
> I guess what happens is that my unescaped form is shorter than your
> normalized escaped form, and since the normalized form is longer,
> it balks. If we don't escape those, that problem is solved.
> 

That's exactly what I figured out (after going home, and, on the way,
piking up my wife some hour or more late than expected, sigh :)

The parsing and the folding works perfect now; however, the escaped
stuff is quite longer than the input string; now I'll implement
a version (under ifdef's) that does not escape UTF-8.
I still prefer the escaped form in a DN (attribute values are
a completely different matter).  But no more commits before monday :).

> For the last 2 hours, I've been trying not to spend more time by
> the computer tonight...

Come on: someone out there is waiting for 2.1 :)

Pierangelo.