A customer is sending me a .csv file where the line breaks are made up of the sequence 0xD 0xD 0xA
. As far as I know line breaks are either 0xA
from Mac or Unix or 0xD 0xA
from Windows.
Is the 0xD 0xD 0xA
any known encoding? Is there any known sequence of savings that corrupts a file's line endings that causes this (I think the customer uses a Mac)?
The file doesn't start with any encoding markers, it starts with the text contents directly. The text is displayed correctly if opened with code page 1252.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…