gkj
(Gustav Kjellin)
1
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
Workaround
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.
forresto
(Forrest Oliphant)
2
I tried to replicate this, but wasn’t able… can you share the svg file that doesn’t work?
Here’s mine with å
in ids: https://svg-special-char-in-id.webflow.io/
2 Likes
gkj
(Gustav Kjellin)
3
I did change the <title>
as well, maybe that’s what solved my issue?
forresto
(Forrest Oliphant)
4
The <title>
tag inside the svg file? I was still able to upload one like that to my test site.
If you have an SVG that doesn’t work now, could you post it here or DM me the file?
system
(system)
Closed
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.