#include #include #include JMOJI chars[] = { '.', 0x9941, 0xA4, 0xA6 }; #define SIZE sizeof( chars ) / sizeof( JMOJI ) void main() { int i; for( i = 0; i < SIZE; i++ ) { printf( "Char does %shave a valid second byte\n", ( iskanji2( chars[i] ) ) ? "" : "not " ); } }