We are in the process of moving a number of Delphi applications to web based, and in the interim some applications are running in both.
We have a situation where the web application can correctly read line breaks written by the Delphi application, but the Delphi application ignores the line breaks when the text is saved in the web application.
As far as I can tell the Delphi application writes #$D#$A
at the end of any line. In the database table these are seen as CR LF
.
When the Web application saves the save block of text the line breaks become #$A
when read by Delphi. In the database these still appear to be CR LF
Thoughts?