Autor Beitrag
Alice
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120



BeitragVerfasst: Do 06.04.06 18:45 
hi all,

habe hier D7 am laufen. ein tmemo und eine *.reg datei (textfile).
wenn ich es mit dem notepad aufrufe dann erscheint es ganz normal.

wenn ich jedoch unter delphi mit dem tmemo laden will (loadfromfile)

dann erscheint im textfeld nur: yþW sonst nichts?
warum?

wie kann ich das ändern, die textfiles kommen leider so an und ich kann sie nicht
konvertieren oder so.

alice
Watsch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 97

Win98 SE
D3 Prof, D4 C/S
BeitragVerfasst: Fr 07.04.06 00:06 
Hi.
Mal 'ne Frage. Öffnest Du die *.reg-Datei mit Notepad oder Wordpad, um sie richtig anzuzeigen? Ich kann Dir jetzt zwar keinen 100%igen Tipp geben, aber versuch mal die TRichEdit-Komponente, anstatt der TMemo. Möglicherweise ist die *.reg-Datei zu groß für's Memo...
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 07.04.06 00:10 
Die reg-Datei wird Unicode sein. Notepad kommt damit klar, aber die standard VCL Kontrollelemente sind nicht Unicode fähig.
Alice Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120



BeitragVerfasst: Fr 07.04.06 06:17 
die reg datei ist nicht zu gross, es kanns jedoch sein das sie unicode ist.
welches tmemo könnte denn unicode lesen? oder besser noch wie könnte ich dennoch
die datei einlesen quasi durch einen filter!?

alice
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Fr 07.04.06 09:06 
Möchtest du die Datei jetzt nur einlesen und verarbeiten oder auch anzeigen? Das ist schon wichtig.

Wenn Du die Daten unbedingt anzeigen musst dann kannst du dir mal TNT Komponenten anschauen: www.tntware.com/delphicontrols/unicode

_________________
Ein Nutzer der Ecke ;-)
Watsch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 97

Win98 SE
D3 Prof, D4 C/S
BeitragVerfasst: Fr 07.04.06 09:10 
Hi.
Ich hoffe, dass ich Dir zumindest hiermit helfen kann:

www.torry.net/quicks...unicode&Title=No

Vielleicht ist ja da das passende dabei...
Alice Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120



BeitragVerfasst: Fr 07.04.06 12:04 
user profile iconMartin1966 hat folgendes geschrieben:
Möchtest du die Datei jetzt nur einlesen und verarbeiten oder auch anzeigen? Das ist schon wichtig.

Wenn Du die Daten unbedingt anzeigen musst dann kannst du dir mal TNT Komponenten anschauen: www.tntware.com/delphicontrols/unicode


ja!

das wars... dieses set hat geholfen!

big thx

alice