List of options for setlocale in C and use

0

Maybe it's a very extensive question, but it's two things that are part of the same problem: In the locale.h library it is assumed that the international options for C are found, but for the most part I look for no list with the command of each country. In order to use accents, ñ, and other special characters in Spanish I use the setlocale command (LC_CTYPE, "spanish"); and it works fine, but for the rest of the possibilities of this library, like LC_MONETARY, LC_NUMERIC, LC_TIME, the same command does not work for me, nor can I enter thousands separator, nor comma in decimals, instead of period. Any ideas? I assure you that I have been searching the internet for days and the most I find are loose examples for German or English. Thanks in advance.

    
asked by Vacendak 08.05.2018 в 19:44
source

0 answers