First Name not imported due to BOM
-
Hello,
If you have a contact list in an Excel (Microsoft 365) spreadsheet and you save it with the setting CSV UTF-8 (Comma delimited), the ‘First Name’ fields in the file are not imported by Email Subscribers.
Cause: in the Excel CSV UTF-8 (Comma delimited) format the file is saved with a Byte Order Mark at the front. This is not at all obvious and the BOM is invisible in the text editors I tried (also with a “show control characters” option enabled). However, a binary file dump shows these characters:
0000-0010: ef bb bf 46-69 72 73 74-20 4e 61 6d-65 2c 4c 61 ...First .Name,La 0000-0020: 73 74 20 4e-61 6d 65 2c-45 6d 61 69-6c 0d 0a 4a st.Name, Email..J
Email Subscribers could remove the BOM from the first header item of the first line of the import file easily and reliably (just google ‘php remove bom’), so I recommend you implement this to improve the robustness of your software.
- The topic ‘First Name not imported due to BOM’ is closed to new replies.