modernc.org/ccgo/v3@v3.16.14/lib/testdata/tcc-0.9.27/tests/tests2/97_utf8_string_literal.c (about) 1 // this file contains BMP chars encoded in UTF-8 2 #include <stdio.h> 3 #include <wchar.h> 4 5 int main() 6 { 7 wchar_t s[] = L"hello$$你好¢¢世界€€world"; 8 wchar_t *p; 9 for (p = s; *p; p++) printf("%04X ", (unsigned) *p); 10 printf("\n"); 11 return 0; 12 }