version 1.5, 2020/05/10 01:43:59 |
version 1.6, 2020/05/10 01:47:52 |
|
|
# |
# |
# Background: |
# Background: |
# CVS needs LF, but Excel provides CRLF for *.csv files. |
# CVS needs LF, but Excel provides CRLF for *.csv files. |
# Excel needs the BOM to read UTF-8 encoding and provides the UTF-8 BOM in a UTF-8 csv file made by a command "CVS UTF-8 (Comma delimited) (.csv)". |
# Excel needs the UTF-8 BOM to read the UTF-8 encoding and provides the BOM in a UTF-8 csv. |
# The BOM does not cause trouble for read.csv(). |
# The BOM does not cause trouble for read.csv(). |
# Excel can read a csv file with LF. |
# Excel can read a csv file with LF. |
# Therefore, before commit UTF-8 csv files to CVS server, we should convert the line breaks to LF and preserve the UTF-8 BOM. |
# Therefore, before commit UTF-8 csv files to CVS server, we should convert the line breaks to LF and preserve the UTF-8 BOM. |