The following settings should not be (which were the old settings in the time of the Lira): "int_frac_digits" => 0 "frac_digits" => 0 but SHOULD be: "int_frac_digits" => 2 "frac_digits" => 2
did you try it_IT@euro?
yes, same result: /* Locale test. */ #include <locale.h> int main() { char *return_val; struct lconv *lconv_ptr; return_val = (char *) setlocale(LC_ALL, "it_IT@euro"); lconv_ptr = (struct lconv *) localeconv(); printf("International Fractional Digits = %d\n", lconv_ptr->int_frac_digits); }
sorry, left out the output: International Fractional Digits = 0
Closing this, since I took it up with the glibc guys and they fixed it in their cvs.