You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to print chinese character with fmt::print. Here is my code.
#defineFMT_HEADER_ONLY
#include<fmt/printf.h>intmain() {
fmt::print(" 我喜欢fmt \n");
fmt::print("I like fmt\n");
while (1) {
// do nothing
}
return0;
}
My toolchain is mingw-w64 + gcc8.5.0, and my source file is saved as utf-8. When built with options -finput-charset=utf-8 -fexec-charset=gb2312, the generated exe prints nothing but just exits.
FMT-11.0.2 and FMT-10.2.1 are both tested, and the results are same.
The text was updated successfully, but these errors were encountered:
I want to print chinese character with fmt::print. Here is my code.
My toolchain is mingw-w64 + gcc8.5.0, and my source file is saved as utf-8. When built with options -finput-charset=utf-8 -fexec-charset=gb2312, the generated exe prints nothing but just exits.
FMT-11.0.2 and FMT-10.2.1 are both tested, and the results are same.
The text was updated successfully, but these errors were encountered: