utf.hpp
utf.hpp copied to clipboard
A single-header C++ library for converting between UTF-8, UTF-16 and UTF-32
Results
2
utf.hpp issues
Sort by
recently updated
recently updated
newest added
I'm using C++11 here still, and remove_const_t is only defined in C++14. I think this statement should be the same. Also the post-increment operator was not compiling successfully.
If size_t len = write_length(c); returns 0 then the next loop will cause a serious issue: for (size_t i = len; i != 1; --i) { // select lower 6...