setlocale does not work in RAD Studio C ++ Builder in console apllication

0
#pragma hdrstop
#pragma argsused

#include <stdio.h>
#include <locale.h>

#ifdef _WIN32
#include <tchar.h>
#else
  typedef char _TCHAR;
  #define _tmain main
#endif

int _tmain(int argc, _TCHAR* argv[])
{


    setlocale(LC_ALL, "portuguese");
    
asked by anonymous 08.04.2017 / 23:31

0 answers