• [^] # Re: ...

    Posté par . En réponse au message Recuperation charset courant. Évalué à 2.

    sinon tu pourrais essayer ca :


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


    int main () {
    setlocale(LC_ALL, "");
    printf("%s\n", nl_langinfo(CODESET));
    }