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 paths #133

Merged
merged 2 commits into from
Jun 4, 2019
Merged

Unicode paths #133

merged 2 commits into from
Jun 4, 2019

Conversation

jpcima
Copy link
Contributor

@jpcima jpcima commented Jun 3, 2019

Attempt at bug #130

Windows Unicode paths

Problem: on Windows, std::ifstream and std::ofstream do not support unicode paths, except on MSVC using the non-standard widechar extension. Unfortunately, it's stupidly difficult on GCC, where one has to realize a custom stream.

I added headers from a library nowide-standalone which implements the custom stream. (on non-Windows, it will still use STL streams)
It's one solution with its own inconvenient, but working in my tests.

Secondly, I eliminate use of "Local8Bit" transformations, such that all paths transit in Unicode.

@freq-mod freq-mod mentioned this pull request Jun 4, 2019
@rerrahkr rerrahkr merged commit e5f4c57 into BambooTracker:master Jun 4, 2019
@rerrahkr
Copy link
Member

rerrahkr commented Jun 4, 2019

Thanks for your contribution!

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

Successfully merging this pull request may close these issues.

None yet

2 participants