To use national language support you must set the locale for your program, using the setlocale function:
setlocale(LC_ALL,"");
The setlocale function call should be the first call in main(), before any IString variables are defined. Your program should call setlocale() only once.