Delphi 7 under Windows 10

231 Views Asked by At

I am talking about Design not Runtime. Is there a way to fix the Encoding and Character Sets issues? Example of messed up form title in Arabic below. Some French letters such as é show up like this too.


Update: Components stored in the DFM like this
Caption = #1575#1604#1593#1585#1576
are not affected (whether it's windows 7 or 10) and are displayed properly.
2

There are 2 best solutions below

1
saa178 On

I use Hyper-V virtual machine with Windows 7 for that...

0
HMil On

I fixed my problem by using TNT Components and writing a program that converts the strings in my DFM files using ord like this

 object l1: TLabel
      Left = 735
      Top = 0
      Width = 32
      Height = 33
      Align = alRight
      Alignment = taRightJustify
      Caption = #1575#1604#1593#1605#16


Delphi 7 doesn't support unicode. Delphi 2009 does. Delphi 2010 is the closest in feel to Delphi 7.