StreamWriter add an extra \r in the end of the line

前端 未结 4 1950
我在风中等你
我在风中等你 2021-01-18 08:32

I created a class with the responsibility to generate a text file where each line represents the information of an object of \'MyDataClass\' class. Below is a simplification

4条回答
  •  天命终不由人
    2021-01-18 09:09

    My guess is that the extra \r is added during FTP (maybe try a binary transfer)

    Like here

    I've tested the code and the extra /r is not due to the code in the current question

提交回复
热议问题