Hi!
I don't know if it's a bug or a misconfiguration, but that's what happened...
I created an .svg file in inkscape for use as an image in a website, with the <img> tag.
Opening the svg image in firefox resulted in an error. The error pointed to an accented character.
When I tried to open the file with Inkscape, another error was shown and the image could not be opened.
So I opened the .svg file with Notepad++ and I realized that the file was using the ANSI charset.
Converting the file to UTF-8 without BOM solved the issue.
So, this is a problem with Inkscape or am I missing some config option to save new files with UTF-8 charset?
The file I mention follows attached. Try opening it with Firefox and Inkscape and you'll see the error.
BTW, I'm using Inkscape in Windows 7.
Thanks!
Problem with accented characters
- Rodrigo Balest
- Posts: 3
- Joined: Fri Jan 24, 2014 10:01 pm
Problem with accented characters
- Attachments
-
- logo-min-educ.svg
- File using ANSI charset.
- (22.23 KiB) Downloaded 146 times
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Problem with accented characters
Hi Rodrigo,
I was able to replicate the problem with that file. Was that the only problem file, or do all Inkscape files you make have the problem?
I was able to open/edit the file substituting the header:
After I opened that modified file in Inkscape, I saved it in Inkscape (Inkscape replaced the iso with the UTF8 header) and it seems fine.
Also, I used the accented text in another file without issue.
So no solution from me, but looking for clues....
I was able to replicate the problem with that file. Was that the only problem file, or do all Inkscape files you make have the problem?
I was able to open/edit the file substituting the header:
Code: Select all
<?xml version="1.0" encoding="iso-8859-15" standalone="no"?>
After I opened that modified file in Inkscape, I saved it in Inkscape (Inkscape replaced the iso with the UTF8 header) and it seems fine.
Also, I used the accented text in another file without issue.
So no solution from me, but looking for clues....
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/