Jump to content
You must now use your email address to sign in [click for more info] ×

SVG Files with ascii xml encoding cannot be opened.


Recommended Posts

Files with the xml encoding set to ascii

<?xml version='1.0' encoding='ascii'?>
.....

cannot be opened, instead this error message is displayed:

image.png.934812172f871d580a62acfe8ae8353f.png

(This error seems to appear in all Affinity Apps)

 

Simply setting the encoding to utf-8 fixes the issue and the file loads normally.

<?xml version='1.0' encoding='utf-8'?>
.....

 

Opening the file in Inkscape 1.2.1 works fine.

 

Setup:

Windows 10

Affinity Designer 2.0.3

 

Example files, differing just in xml encoding, are attached below.

test_2_ortho0001 - ascii.svg test_2_ortho0001 - utf-8.svg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.