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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode file path issue #1

Open
kokbira opened this issue Jun 28, 2018 · 0 comments
Open

Unicode file path issue #1

kokbira opened this issue Jun 28, 2018 · 0 comments

Comments

@kokbira
Copy link

kokbira commented Jun 28, 2018

QCAD uses dxflib to open DXF files on Windows, but it has some issues with special characters on file name or path (spaces, international characters, symbols...; "À", "õ", "ß", "ç", "+" etc.), according to QCAD Bugtracker links below.

QCAD group already made a fix for that issue (qcad/qcad@6d3f688), but it would be made also on dxflib development side.

I think that StackOverflow answers would help to solve that issue:

https://stackoverflow.com/questions/396567/is-there-a-standard-way-to-do-an-fopen-with-a-unicode-string-file-path

https://stackoverflow.com/questions/402283/stdwstring-vs-stdstring

It is like doing a #ifndef to detect with SO is running on compiler to choose if it will use fopen or _wfopen and string or wstring.


QCAD Bugtracker links:

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

1 participant