Byte order mark screws up file reading in Java

后端 未结 9 2501
说谎
说谎 2020-11-22 02:55

I\'m trying to read CSV files using Java. Some of the files may have a byte order mark in the beginning, but not all. When present, the byte order gets read along with the r

9条回答
  •  孤街浪徒
    2020-11-22 03:26

    Regrettably not. You'll have to identify and skip yourself. This page details what you have to watch for. Also see this SO question for more details.

提交回复
热议问题