If (object instanceof Java. SQL. Date) {
# tmpData. Append (" | | "), append (lsZb. GetTimestamp (I));
} else {
# tmpData. Append (" | | "), append (object);
}
Sb. Append (tmpData. Substring (3). The toString ());
Bw. Write (replaceBlank (sb));
Bw. Write (" \ r \ n ");
File written in the book of the Linux host, the host character set utf-8, newline for ^ M $, why not \ r \ n
CodePudding user response:
Dos2unix filenameCodePudding user response:
Were, in fact, it is only a question of showing \ r \ nRefer to the following post
https://blog.csdn.net/Jackie_Ryan/article/details/79857890