boostorg / boostorg/filesystem
`path` methods taking `codecvt` should perform `char`<->`char` code conversion
- Dominant language
- C++
- Stars
- 180
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
Currently, constructor/assignment/appending methods that accept `codecvt_type` arguments only perform character code conversion when the source character type does not match `path::value_type`. C++ standard requires (e.g. [here](http://eel.is/c++draft/filesystems#fs.path.construct-6) and [here](http://eel.is/c++draft/filesystems#fs.path.construct-7)) that when both `path::value_type` and source value type are `char` the conversion is performed twice: first, from source encoding to `wchar_t` using the supplied `codecvt_type` facet, then from `wchar_t` to native path character encoding using `path::codecvt()`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.