#include <stdio.h>
#include <jstring.h>

JMOJI chars[] = {
    0x8143,
    0x8183,
    0x8254,
    0x8277
};

#define SIZE sizeof( chars ) / sizeof( JMOJI )

void main()
  {
    int   i;
    JMOJI c;

    for( i = 0; i < SIZE; i++ ) {
	c = chars[ i ];
	printf( "%c%c", c>>8, c );
	if( jisl0( c ) ) {
	  printf( " is Level 0 JIS" );
	}
	printf( "\n" );
    }
  }
//************ Sample program output ************
//,  is Level 0 JIS
//<  is Level 0 JIS
//5  is Level 0 JIS
//X  is Level 0 JIS
