Strangers ID’s in elements when save an .ai file as SVG in Illustrator

I have a map of a floor with offices in it in Illustrator, and I need to add to each office drawn an ID to work with it in JavaScript. But the names of the offices have numbers and/or special characters, such “()” and “+” (i.e. “360 (IVO+IMR+IEC)”),and when I save it as a SVG file, the IDs looks like “id=’_x33_60__x28_IVO_x2B_IMR_x2B_IEC_x29_'”.
Any idea of why happen this? How can I fix it or avoid?


It looks like some of the characters in your file name are being turned into their unicode representation. For example, the character ‘3’ in unicode is ‘\x33′, and your corrupt file name shows’x33‘. Also, ‘(‘ in unicode is ‘\x28’, etc, etc. This seems to not be coincidental.

I don’t know what operating system you are running, but maybe you can check your settings for character display, language, or region, as this seems to be a character display problem on your system. Hope you can get it solved.

Here’s a chart of unicode characters, if you’re interested:

Source : Link , Question Author : eduardo a , Answer Author : Treebeard

Leave a Comment