[Info] Unicode in next Delphi

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

[Info] Unicode in next Delphi

Post by *Alextp »

http://chrisbensen.blogspot.com/2008/01/tiburn-will-get-new-unicodestring-type.html
In a few words:
1. The name is UnicodeString, not WideString.
2. UnicodeString supports reference counting, while WideString (more like BSTR) doesn't.
3. The data type is default mapped to UnicodeString. (I guess, there is a compiler-switcher for mapping to AnsiString)

May be interesting to Christian for Unicode TC
Last edited by Alextp on 2008-01-12, 07:39 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for the info, but since I'm mostly using pchar anyway, switching to pwidechar wasn't really a problem. It just takes a lot of time because almost all the code of TC is dealing with files, so it all has to be converted to Unicode...
Author of Total Commander
https://www.ghisler.com
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Thanks for the info, but since I'm mostly using pchar anyway
Thanks
You won't use UnicodeString, OK
takes a lot of time because almost all the code of TC is dealing with files
Of course.. :|
Post Reply