I have a very simple console application that creates a text file below is a brief translation of the code:
StreamWriter author = file. Create Text ("c: \\ temp.txt"); Foreign (Blah ...) {Authors. White (body.ToString (+) "\ n"); Writer.flush (); } Author. Stop it (); The customer says that the carriage return is given at the end of each line
Update: Open in VS Binary Editor and Notepad ++ After, there were no incidents of 0d 0a . I'm going back to the client.
Open the file in Visual Studio Binary Editor (File. Open File, Down-Arrow on Open Button Click, select Open with ... and select binary editor), and find 0D bytes. If none exists, either:
-
Your customer can not tell the difference between line feed and carriage return,
< Li>
Modifying Your Transmission Method File N-Root Is Any FTP Binary / ASCI Mismatching?
If there is is 0D bytes, then they exist in your body variable .
Comments
Post a Comment