delphi package - madRes, madTools, madStrings, ...
- Posts: 166
- Joined: Sun Jul 16, 2006 9:01 pm
- Location: UK
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.
- Site Admin
- Posts: 10338
- Joined: Sun Mar 21, 2004 5:25 pm
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...