This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/mbcjmsto.c

13 lines
188 B
C

#include <stdio.h>
#include <mbctype.h>
#include <mbstring.h>
void main()
{
unsigned short c;
_setmbcp( 932 );
c = _mbcjmstojis( 0x8171 );
printf( "%#6.4x\n", c );
}