mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-08-13 09:59:03 +08:00
refs #18, missing small fix
This commit is contained in:
parent
5c72bacf2c
commit
40ef125494
@ -1186,7 +1186,7 @@ GHC_INLINE void appendUTF8(std::string& str, uint32_t unicode)
|
|||||||
str.push_back(static_cast<char>((unicode & 0x3f) + 128));
|
str.push_back(static_cast<char>((unicode & 0x3f) + 128));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
str.push_back(0xfffd);
|
appendUTF8(str, 0xfffd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user