Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with certain filenames #14

Closed
loominade opened this issue Jul 14, 2015 · 8 comments
Closed

problems with certain filenames #14

loominade opened this issue Jul 14, 2015 · 8 comments

Comments

@loominade
Copy link

I cannot convert files with emoji in filenames:

$ svgexport 馃摉.svg 馃摉.png
Error: Unable to load file (fail): path/馃摉.svg
@shakiba
Copy link
Collaborator

shakiba commented Jul 14, 2015

The issue is with phantomjs, but it is more than just emoji charachters. Currently I don't have enough time to fully investigate it and report it to phantomjs, so please either report it to phantomjs or temporary do not use special characters in your file names.

@loominade
Copy link
Author

I'd like to, but I don't know what to tell them. What do you think I should report to phantomjs?

Can't it operate with those filenames at all?

@shakiba
Copy link
Collaborator

shakiba commented Oct 9, 2015

I reported it.

@davemackintosh
Copy link
Contributor

It also doesn't like spaces in the path name, regardless of whether you escape them or not.

@shakiba
Copy link
Collaborator

shakiba commented Nov 4, 2015

@davemackintosh It may be a svgexport issue, can I see your example?

@davemackintosh
Copy link
Contributor

I'm using it in an electron app on OS X, it's reading from the "Application Support" directory but says it can't find "Application " so I tried .replace(/\s+/g, "\ ") but still no go.

@shakiba
Copy link
Collaborator

shakiba commented Nov 4, 2015

@davemackintosh Are you using svgexport as a node.js module? If so, please use arrays for output value, see here. I should add it to readme.

@shakiba
Copy link
Collaborator

shakiba commented Nov 27, 2015

@loominade I'm closing this issue, because it is a phantomjs issue. Hopefully in future versions of phantomjs it will be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants