/* * stupid little program to pipe unicode chars through * when converting to non-utf compilers. */ #include #include #include Biobuf bin; void main(void) { int c; Binit(&bin, 0, OREAD); while((c = Bgetrune(&bin)) >= 0) print("0x%ux\n", c); exits(0); }