#include <print> int main( void ) { FILE* fp = fopen( "fuck.txt", "wb" ); std::print( fp, "{}", (const char*)u8"¥\uFFE5" ); // 两个字符都是 ¥ fclose( fp ); }