I'm running into issues loading a file that doesn't consistently encapsulate address fields.
For example, an XLSX file has the following data (the {tab} represents an actual tab character):
Name | Address_1 | Address_2 |
---|---|---|
Mary | 123 St. | Apt A |
Joe | 123 St. | Apt, B |
David | 123 St. | Apt{tab}C |
When saved as CSV and opened in notepad, the result is:
Name,Address_1,Address_2
Mary,123 St.,Apt A
Joe,123 St.,"Apt, B"
David,123 St.,"Apt{tab}C"
Per this SO post, it is apparently not possible to load this as is. Either none of the values in a single field are encapsulated or all of them must be.
What methods are there to save this XLSX as a CSV and enforce encapsulation?