isteinbrecher / latex2ai

LaTeX Plugin for Adobe Illustrator
MIT License
167 stars 5 forks source link

Non-ascii filepath warning #177

Open Eltaurus-Lt opened 2 weeks ago

Eltaurus-Lt commented 2 weeks ago

The plugin (v1.0.0-rc1) throws a warning popup in Illustrator CC each time a document is saved under a file path with non-ascii characters even when the document does not contain any LaTeX2AI labels.

(although after installing the fix for CS6 I do not seem to get the warning anymore, instead an error is thrown by l2a_file_system.cpp when saving a document with an embedded label, which is puzzling since the two Illustrators (CC and CS6) and the respective plugins are installed separately )

isteinbrecher commented 2 weeks ago

Thanks for opening this issue I will have a look at this soon, should be a very similar fix as with CS6.

I am not exactly sure I fully understand the second part of your comment. Do you get the error in CS6 or CC? Could you post the error message? In general the two AI versions should not affect each other if the plug-in binaries are in saved in different directories and the respective AI versions point directly to that directory.

Eltaurus-Lt commented 2 weeks ago

Do you get the error in CS6 or CC?

That was in CC. But that all is just a sidenote, I didn't perform thorough testing on that.

Could you post the error message?

Not anymore, unfortunately. My trial has ended, so I reverted back to CS6. I decided to stick with that one for a while longer after all.

isteinbrecher commented 1 week ago

Hard to say what caused the issue. There should be no interplay between different Illustrator versions and the plugin, so let's see if this happens again for other users, then this can be tracked further.

As for the main topic of this issue, I will try to include this into the final release version v1.0.0.

isteinbrecher commented 1 week ago

@Eltaurus-Lt out of interest, could you post an example file name or path that raised the warning for you?

Eltaurus-Lt commented 6 days ago

I'm not sure, what exactly I was editing at that time, but it must have been something inside a directory with either Cyrillic or Japanese characters in the name