Reply to post: Re: Lower to uppercase

You've seen things people wouldn't believe – so tell us your programming horrors

richardcox13

Re: Lower to uppercase

> I appreciate that was probably very old code... but you do realise that changing case in ASCII is just a bitwise operation?

Only if it is truly ASCII: 7 bit encoding, nothing accented.

Once you need to deal with wider encodings or outside the USA then it breaks down.

Even if all the characters are unaccented it will not work (see Turkish I Problem).

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon