inkstitch / pyembroidery

libembroidery/EmbroideryFormats converted to python
MIT License
71 stars 28 forks source link

PES/PEC: make sure there is no special characters in LA: filename #102

Closed kaalleen closed 1 week ago

kaalleen commented 1 week ago

We were still seeing issues of exploding pes files when the file name contained special characters. This method here is a bit mean for languages that do not use the latin alphabet, they will all have untitled in the header of the filename. But I think at this point it is more important, that they can at least export to pes/pec without having issues (sometimes it messed up the colors, sometimes the bounding box and sometimes ... just everything). This seems to be solved by just fixing the name in the header (as strange as it is).

fabricocouto commented 1 week ago

The Brother machine itself does not recognize files with special characters, at least the ones I have worked with to date

kaalleen commented 6 days ago

This is about the information written into the header of the embroidery file, not the filename itself. In Ink/Stitch this may differ from the "real" filename, because it is the saved svg file name which ends up in the header information, not the file name chosen on pes/pec export.