On Sun, 17 Dec 2006 13:07:33 +0000
Julian Mehnle <[EMAIL PROTECTED]> wrote:

> Case insensitivity applies only to ASCII characters.  So where's the 
> problem?

We don't know if the data is ASCII. If what Bert stated is true, we don't
know what the data should be. That's the problem.

Passing around strings of text '8-bit clean' is fine until you have to
actually understand what the stream of bytes mean i.e manipulate it or make
decisions based on it. That's where character encodings come in. You can't
simply say: This byte is 0x42, which is upper-case 'B', so I'll lower-case
it to 'b'. That byte might be part of a double-byte character in UTF-16,
or any other multi-byte encoding.

We need to know what encoding a string uses, otherwise we risk making a
real mess.

bye

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to