I wrote a daily scheduled script that pulls a CSV ...
# suitescript
b
I wrote a daily scheduled script that pulls a CSV file from a server and imports it via a saved CSV import. It failed recently because a person's name has a "Ã" character in it. Is there a best practice for how to handle unsupported special characters?
b
à isnt unsupported
🤔 1
make sure that the encoding of the file matches the encoding of the import
🎖️ 1
b
Okay, then maybe it's some other character. There seems to be some kind of white space character after the Ã. I don't see it when viewing the CSV file as text, but it's there when opening in Excel.
b
excel does a lot of formatting things that dont translate well to plaintext csv
b
Yes, I definitely know that, but this is the position that NetSuite is complaining about.
b
again, first thing i would check is the encoding
b
Yes, trying to do that now
Alright, I think that was it. My import was set to Western (Windows 1252), but the file is UTF-8. Thank you