Vote UpVote

Chr equivalent for Unicode in Delphi 7 – Stack Overflow

The Wiert Corner – From a long time ago: [WayBack] chr equivalent for Unicode in Delphi 7 – Stack Overflow answered by David Heffernan: Q I need to initialize a Widestring in Delphi 7 but I can’t use chrfunction which is ANSI var ws : Widestring; begin ws := chr($FFFF) + chr($FFFF) + chr($FFFF); end; What can I use, then ? A I’m not sure there’s a simply way to do what you wish. You can convert a Word into a WideChar with a simple cast: WideChar($FFFF) but you cannot concatenate WideChar. So this is a compiler error: WideChar($FFFF) + WideChar($FFFF) You could use a helper function ...
Favorite? Off-Topic? jpluimers @ 2020-06-17 19:04


Visits: 109
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Michał Rajewicz
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)