Index: trunk/tests/pcb-printf/prcli.c =================================================================== --- trunk/tests/pcb-printf/prcli.c (revision 20864) +++ trunk/tests/pcb-printf/prcli.c (revision 20865) @@ -1,4 +1,5 @@ #include +#include #include "misc_util.h" #include "pcb-printf.h" #include "pcb_bool.h" @@ -9,6 +10,8 @@ pcb_coord_t crd; int n; + setlocale(LC_ALL, "C"); + pcb_printf_slot[0] = "%mr"; for(n = 2; n < argc; n++) { Index: trunk/tests/pcb-printf/prclimq.c =================================================================== --- trunk/tests/pcb-printf/prclimq.c (revision 20864) +++ trunk/tests/pcb-printf/prclimq.c (revision 20865) @@ -1,4 +1,5 @@ #include +#include #include "misc_util.h" #include "pcb-printf.h" #include "pcb_bool.h" @@ -6,6 +7,7 @@ int main(int argc, char *argv[]) { pcb_printf_slot[0] = "%{ ()}mq"; + setlocale(LC_ALL, "C"); pcb_fprintf(stdout, argv[1], argv[2]); printf("\n"); return 0; Index: trunk/tests/pcb-printf/tester.c =================================================================== --- trunk/tests/pcb-printf/tester.c (revision 20864) +++ trunk/tests/pcb-printf/tester.c (revision 20865) @@ -27,7 +27,7 @@ char **f; int n, rep; - setlocale(LC_ALL, ""); + setlocale(LC_ALL, "C"); for(rep = 0; rep < NUMREP; rep++) { for(n = 0; n < sizeof(c) / sizeof(c[0]); n++) {