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

Handling unicode paths #19

Open
robiwano opened this issue Nov 23, 2018 · 1 comment
Open

Handling unicode paths #19

robiwano opened this issue Nov 23, 2018 · 1 comment

Comments

@robiwano
Copy link
Contributor

As far as I can see, it is not possible to use paths on Windows such as C:\Överkörd\Überförare\, maybe paths should be considered UTF-8, then convert to wchar_t* for use with std::ofstream/ifstream.

@lppinto
Copy link

lppinto commented May 25, 2020

I don't think UTF-8 has anything to do with wchar_t, you can encode UTF-8 with char*. The usage of wchar_t is not recomended, specially if you want to maintain your code cross compilable (wchar_t may have different meaning for different platforms)

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

2 participants