Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert unicode DFM Files to Human readable text

507 views
Skip to first unread message

Entrodus

unread,
Nov 28, 2003, 7:34:20 AM11/28/03
to

Post Delphi 5 versions
altered the way string values are stored to dfm
using a unicode symbolic represantation (codepoint).

Reading the dfm file through IDE (alt+f12) presents a
human readable form in strings, but trying to open the same
file using notepad you only see the unicode codepoints.

Is there a way to convert the whole dfm or a unicode codepoint
string to real unicode text?

Bernhard Geyer

unread,
Nov 28, 2003, 8:49:52 AM11/28/03
to
Open File in Delphi-IDE and, show Popup-Menu and check menuentry "Text-DFM".
DFM will now save in the readable form as it show with alt+f12


"Entrodus" <Babi...@reversed.oohay.com> schrieb im Newsbeitrag
news:3fc74edc$1...@newsgroups.borland.com...

Entrodus

unread,
Nov 28, 2003, 8:10:51 AM11/28/03
to

"Bernhard Geyer" <Bernhar...@nospam.com> wrote:
>Open File in Delphi-IDE and, show Popup-Menu and check menuentry "Text-DFM".
>DFM will now save in the readable form as it show with alt+f12
>
>

Write a non english string to the caption of the form (Save)
and then open the dfm file using notepad.

Property caption is not written in a human readable form,
alt+f12 does some magic before presenting the form to the user.


Bernhard Geyer

unread,
Nov 28, 2003, 9:55:13 AM11/28/03
to
If you mean somethink like #228#228#228 (Delphi 6)

these are the Ord-Values of the characters as Widestring (ä).
This must be done to save these characters in a 8Bit-Textfile.
IMO Borland doesn't want to destroy dfm-compatibility totally between the
different Delphi-Versions.

If you have Unicode-Controls, you also also save #22100 for example which
represents
chinese characters.


"Entrodus" <Babi...@reversed.oohay.com> schrieb im Newsbeitrag

news:3fc7576b$1...@newsgroups.borland.com...

0 new messages