setlocale portuguese code example Example: setlocale(LC_ALL("Portuguese")); setlocale(LC_ALL,("Portuguese"));