24 lines
380 B
C
24 lines
380 B
C
|
#include <stdio.h>
|
||
|
#include <mbctype.h>
|
||
|
#include <mbstring.h>
|
||
|
|
||
|
unsigned int chars[] = {
|
||
|
0x829F,
|
||
|
0x82B0,
|
||
|
0x82F1
|
||
|
};
|
||
|
|
||
|
#define SIZE sizeof( chars ) / sizeof( unsigned int )
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
_setmbcp( 932 );
|
||
|
for( i = 0; i < SIZE; i++ ) {
|
||
|
printf( "%#6.4x - %#6.4x\n",
|
||
|
chars[ i ],
|
||
|
_mbctokata( chars[ i ] ) );
|
||
|
}
|
||
|
}
|