boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

00220.c (265B)


      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 }