Safari download of CSV not using UTF-8 character set
0
votes
1
answer
380
views
I am downloading a CSV file, which Safari (annoyingly) puts directly onto the page. This CSV file is encoded with UTF-8, and has been verified to be correctly encoded with UTF-8 from the source file, as well as downloading it using other browsers.
However, in Safari the character set is incorrect. It is using a Default character set, as seen by looking in the menu:
View > Text Encoding > Default
If I change this to:
View > Text Encoding > Unicode (UTF-8)
I get the correct characters displayed.
Why is UTF-8 not the default? How can I force it to be the default?
Isn't UTF-8 the default for the whole MacOS operating system, so I have no idea why Safari would be using something different.
Asked by Jim Leask
(193 rep)
Apr 2, 2024, 02:40 PM
Last activity: Apr 27, 2025, 04:10 PM
Last activity: Apr 27, 2025, 04:10 PM