Unicode support in madStrings

delphi package - madRes, madTools, madStrings, ...

Unicode support in madStrings

Postby mikec » Sun May 31, 2009 10:38 pm

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
mikec
 
Posts: 166
Joined: Sun Jul 16, 2006 9:01 pm
Location: UK

Postby madshi » Tue Jun 09, 2009 2:00 pm

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...
madshi
Site Admin
 
Posts: 9477
Joined: Sun Mar 21, 2004 5:25 pm


Return to madBasic

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron