Page 1 of 1

Unicode support in madStrings

Posted: Sun May 31, 2009 10:38 pm
by mikec
Hay madshi,

Are there any plans to update the madStrings library to fully support Unicode in BDS 2009?

I've had a quick look through most of the .pas file and the vast majority of functions support the new UnicodeString but the IntToStrEx() functions are defaulting to AnsiString. I only noticed because Delphi 2009 was chucking a warning when i compiled some code using this function.

Many thanks,

Mike C

Posted: Tue Jun 09, 2009 2:00 pm
by madshi
Hi Mike,

I've updated all string functions where Unicode support would make a difference. IntToStrEx cannot possible produce unicode characters, so I left it at ansi. You can simply typecast it to unicode to make the warnings go away...