diff --git a/cups/testppd.c b/cups/testppd.c index 36707f2..a4ab7bf 100644 --- a/cups/testppd.c +++ b/cups/testppd.c @@ -658,6 +658,14 @@ main(int argc, /* I - Number of command-line arguments */ * Test localization... */ + /* + * Enforce void localization + */ + putenv("LANG=C"); + putenv("LC_ALL=C"); + putenv("LC_CTYPE=C"); + putenv("LC_MESSAGES=C"); + fputs("ppdLocalizeIPPReason(text): ", stdout); if (ppdLocalizeIPPReason(ppd, "foo", NULL, buffer, sizeof(buffer)) && !strcmp(buffer, "Foo Reason"))