boostorg / wave

Boost.org wave module
http://boost.org/libs/wave
21 stars 49 forks source link

use boost filesystem streams for opening files in wave #33

Closed rlenhardt closed 6 years ago

rlenhardt commented 6 years ago

This is the PR for issue #32. The first commit changes standard streams to boost streams in the wave lib and the wave driver. I left out the samples. The second submit is a demo on how to switch the wave driver to UTF-8 paths. I had no luck passing UTF-8 arguments to wave using cmd.exe, you have to switch to mintty or something. But all invocations of wave without passing in UTF-8 paths work. I'd rather not pull the second submit as-is, maybe the locale switch should be optional or left away altogether. I would be happy if the first commit made it into boost wave.

rlenhardt commented 6 years ago

Will do. I need some time to get accustomed to the wave testcase harness, and i won't get to do it until next week. Stay tuned...

rlenhardt commented 6 years ago

Will close this PR and open another one, without the DEMO code but with tests.