gulrak / filesystem

An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option, how to react on unicode errors

gulrak opened this issue · comments

There should be an option to select if unicode errors (invalid byte sequence or bad codepoint) should lead to errors or be replaced by the unicode replacement character (U+FFFD), like it is currently done.

This is now part of release v1.2.0

Feature can be enabled with the define: GHC_RAISE_UNICODE_ERRORS