Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make cimbar.exe work properly #121

Merged
merged 2 commits into from
Mar 16, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Undo incorrect changes made to the upstream fmt
wyjss committed Mar 3, 2025
commit 1a1cd2a59432ac34c5bf42bd618f40f6f5ad17e2
4 changes: 0 additions & 4 deletions src/third_party_lib/fmt/format.h
Original file line number Diff line number Diff line change
@@ -1453,11 +1453,7 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
++p;
if (p == s.end() || (c & 0xfc00) != 0xd800 || (*p & 0xfc00) != 0xdc00) {
if (policy == to_utf8_error_policy::abort) return false;
#ifdef _WIN32
buf.append(string_view("\xef\xbf\xbd"));
#else
buf.append(string_view("�"));
#endif
--p;
} else {
c = (c << 10) + static_cast<uint32_t>(*p) - 0x35fdc00;