Escape invalid code points

This commit is contained in:
Victor Zverovich committed 2021-08-22 15:51:33 -07:00
1 parent a76031e11d
commit a212ff757f
3 files changed
+24 -23

No files matched your search

+1
View File
@@ -267,6 +267,7 @@ TEST(ranges_test, is_printable) {
using fmt::detail::is_printable;
EXPECT_TRUE(is_printable(0x0323));
EXPECT_FALSE(is_printable(0x0378));
EXPECT_FALSE(is_printable(0x110000));
}
TEST(ranges_test, escape_string) {