This example shows how the WinUpper call can be used to convert a strings in NLS languages to uppercase.

#define INCL_WINCOUNTRY
#include <OS2.H>
#include <stdio.h>
main()
{
HAB hab;
char szString[] = "hablas espa¤ol?";
hab = WinInitialize(0);
WinUpper(hab,
         850,
         34,
         szString);
WinTerminate(hab);
   }


[Back] [Next]