5 Commits

Author SHA1 Message Date
Alexander Grund
238ba9e2e9 Remove support for codecvt<char8_t
std libraries don't provide the required support
(e.g. missing VTables or facet IDs)
2023-09-12 10:07:45 +02:00
Alexander Grund
0faa3c10cc Add implementations for char8_t where available
Allows to e.g. convert `std::u8string`s, translate them and run boundary
analysis.
Formatting isn't possible due to lack of facets
(more specifically: their IDs) in the standard libraries
2023-09-12 10:07:45 +02:00
Alexander Grund
825562182c
Use utf_to_utf when target/source encoding is known to be UTF-8
Improves speed by using static dispatch and inlining.
2023-05-29 18:36:01 +02:00
Alexander Grund
2a1128dfa8
Refactor test_stream_io
Ensure full coverage and remove possible mistakes (system locale
dependent output, wrong SJIS detection)
2023-05-09 14:18:45 +02:00
Alexander Grund
0892f4d0fa
Split test_codepage into test_stream_io & test_encoding
Especially to create a test file to test the `encoding.hpp` header (i.e. the `to_utf`, `from_utf` functions)
2023-05-09 14:18:44 +02:00