1 // this file contains BMP chars encoded in UTF-8
9 char hello_world_in_czech
[] = "čau, světe";
10 char hello_world_in_czech_ucn
[] = "\u010dau, sv\u011bte";
11 if (sizeof(hello_world_in_czech
) != sizeof(hello_world_in_czech_ucn
)
12 || strcmp(hello_world_in_czech
, hello_world_in_czech_ucn
))
15 wchar_t s
[] = L
"hello$$你好¢¢世界€€world";
17 for (p
= s
; *p
; p
++) printf("%04X ", (unsigned) *p
);