Delphi 2010 Wide functions vs. String functions

Posted by Mick on Stack Overflow See other posts from Stack Overflow or by Mick
Published on 2010-04-23T02:10:35Z Indexed on 2010/04/23 2:13 UTC
Read the original article Hit count: 654

Filed under:
|
|

We're currently converting a Delphi 2007 project to Delphi 2010. We were already using Unicode (via WideStrings and TNT Unicode Controls).

I was expecting to replace all Wide functions, e.g. WideUpperCase, with their equivalent, e.g. UpperCase, but they do not work the same way. For example, WideUpperCase works differently from UpperCase. WideUpperCase correctly uppercases Campañas, but UpperCase leaves the ñ in lower case.

Are there any other differences that I should be aware of? e.g. do WideFormat and Format work the same?

Thanks

© Stack Overflow or respective owner

Related posts about delphi

Related posts about unicode