Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable unicode in Delphi xe2

Is there a way to do this ?

I'm currently using 2007 and am looking to upgrade, but its very frustrating trying to get this new version to do anything.

The new behaviour of char, strings and Pchar in xe2 kills virtually every application and third party component I have tried on it.

Is there a compiler option that gives D2007 compatibility. ?

like image 406
Andy k Avatar asked Mar 20 '12 12:03

Andy k


1 Answers

There's no way to disable UNICODE in Delphi XE2 (or any version greater than 2009), however there are many resources that can help you to migrate your application:

  • White Paper: Delphi and Unicode (from Marco Cantù)
  • Delphi Conversion Unicode Issues
  • "Globalizing your Delphi applications" - Delphi Unicode Resources
  • Compilation of resources for migrate to Delphi 2009/2010 Unicode
like image 187
RRUZ Avatar answered Sep 30 '22 07:09

RRUZ