AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Falsche Zeichen in Projektdatei

Ein Thema von Hobbycoder · begonnen am 13. Sep 2018 · letzter Beitrag vom 13. Sep 2018
 
Benutzerbild von GPRSNerd
GPRSNerd

Registriert seit: 30. Dez 2004
Ort: Ruhrpott
239 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: Falsche Zeichen in Projektdatei

  Alt 13. Sep 2018, 14:14
Ist ein Fehler, den ich seit gefühlten 10 Delphi-IDE-Versionen mal mehr oder mal weniger habe.
Tritt bei mir häufiger auf, wenn ich ein großes Package mit etlichen Komponenten-Projekten builde.
Ich habe leider nie herausfinden können, wann oder wodurch es auftritt...

Hier ist was dazu in den Emba-Foren:
https://forums.embarcadero.com/threa...hreadID=266432

Aha:

Zitat:
As Olivier said, this is caused by a mix of CR and CRLF line terminators in the file.

To fix it, here is what I did.

1. I opened the file in 32-bit non-Unicode notepad (this was a bit ago). The CR breaks did not resolve, and the lines were merged together.
2. Hit enter where the line break should be. That put the CRLF in the correct place.
3. Saved

It is very beneficial if you can see this in a separate text editor that shows different characters between CR and CRLF; maybe Notepad++?. In my case, I didn't have one, but the file compare in TortoiseGit would show the CR as a straight-down arrow and the CRLF as a bent arrow.
Stefan

Geändert von GPRSNerd (13. Sep 2018 um 14:17 Uhr)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:23 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz