开发者

CSV and MS-DOS CSV Formats

I have a custom java program which pr开发者_如何学运维oduces a Comma Separated Values (CSV) file. It uses the following output format:

a,b,c

My users complain that my CSV file is not in the "MS-DOS CSV" format. They provided me with a file in the "MS-DOS CSV" format. I ran diff on my CSV file against their "MS-DOS CSV" file. The two files are identical.

What is the difference between the "MS-DOS CSV" format and the standard CSV format? Is there a tutorial somewhere about how to make the "MS-DOS CSV" format with java?


Check the row delimiter. MS-DOS uses {CR}{LF} or \r\n.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜