Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Covert U-Dos to U8-Dos (https://www.delphipraxis.net/113350-covert-u-dos-u8-dos.html)

sirarcher 6. Mai 2008 15:17


Covert U-Dos to U8-Dos
 
Liste der Anhänge anzeigen (Anzahl: 3)
Hallo,

kann mir jemand einen Tipp geben, wie ich mittels Delphi (ohne externes Programm) ein File umconvertiere.

Von Code page "U-DOS" nach "U8-DOS".

Im Ultraedit kann ich mittels Menüaufruf (siehe Bild) .. Danke für jeden TIPP schon mal jetzt!

RavenIV 6. Mai 2008 15:25

Re: Covert U-Dos to U8-Dos
 
Zitat:

Zitat von sirarcher
Von Code page "U-DOS" nach "U8-DOS".

"U-DOS" ist ASCII
"U8-DOS" ist UTF8

Schau Dir mal die Funktionen UTF8Decode und UTF8Encode[b] an, vielleicht passen die ja.
Weiterhin gibt es auch noch AnsiToUtf8 und Utf8ToAnsi.

Einfach mal die Delphi-Hilfe konsultieren...

Der.Kaktus 6. Mai 2008 15:29

Re: Covert U-Dos to U8-Dos
 
Zitat:

Zitat von RavenIV
Zitat:

Zitat von sirarcher
Von Code page "U-DOS" nach "U8-DOS".

"U-DOS" ist ASCII
"U8-DOS" ist UTF8

Schau Dir mal die Funktionen UTF8Decode und UTF8Encode[b] an, vielleicht passen die ja.
Weiterhin gibt es auch noch AnsiToUtf8 und Utf8ToAnsi.

Einfach mal die Delphi-Hilfe konsultieren...

..oder einfach in der :dp: Suche u8dos

sirarcher 7. Mai 2008 06:45

Re: Covert U-Dos to U8-Dos
 
Danke für die Tipps.. bin irgendwie total auf der Leitung gestanden. Das UTF8Encode hab ich mir vorher schon angesehen, aber irgendwie war ich zu blöd um es richtig einzusetzten.

(habs am falschen Punkt eingesetzt)

Nun mach ichs direkt vorm File speichern und es hilft .. DANKE nochmals!!!

nicodex 7. Mai 2008 07:39

Re: Covert U-Dos to U8-Dos
 
[hat sich erledigt]


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:06 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz