Skip to main content
Participating Frequently
July 31, 2024
Question

Layer names with non-alphanumeric characters converted to hex code when exporting SVGs

  • July 31, 2024
  • 1 reply
  • 1126 views

When exporting or saving as SVG, the non-alphanumeric characters in a layer name get converted to their hex code. For example, hashtag(#) becomes _x23_ and underscore(_) becomes _x5F_. This happens when the layer name is set as the id or the data-name. This issue seems to only happen in v28.6 of Illustrator, not v28.5.

This topic has been closed for replies.

1 reply

Participating Frequently
July 31, 2024

Just noticed that any spaces in the layer names are being replaced by underscores in the export.

Community Manager
August 2, 2024

Hello @Automated216896213io0,

Sorry to hear about your experience. Would you mind sharing a public link to a sample AI and SVG file from both versions of Illustrator after uploading it to Dropbox/Google Drive/etc., as well as screenshots of the settings used, so we can investigate this further?


Looking forward to hearing from you.

 

Thanks,

Anubhav

Participating Frequently
August 2, 2024

Steps to reproduce:
1) open AI file
2) go to File > Export > Export As...
3) select SVG (*.SVG) as the Save as type

4) click Export

5) use these settings

I'm not able to share a public link but I've attached sample svgs to this reply. The ai files were auto-removed for some reason. I can email the ai files to you if that's doable.