SVG’s containing non-ASCII character won’t preview and don’t load on page load.
Steps to reproduce
- Edit an SVG in code and enter a non-ASCII character (in my case, å, ä, ö) in an ID
- Upload to site either in Assets or as a part of a collection
Remove non-ASCII character from file
The tested files were all in UTF-8, so it’s probably an issue on the decoding end, since “å”, “ä”, and “ö” are a part of UTF-8.