Hi,
David Fang <[email protected]> writes:
> With guile-2.0.0, I see some i18n test failures on i686- and x86_64
> -pc-linux-gnu:
Which glibc version? (See “ldd --version”.)
> ERROR: i18n.test: number->locale-string: French: integer - arguments:
> ((out-of-range #f "Value out of range ~S to ~S: ~S" (0 6 7) (7)))
> ERROR: i18n.test: number->locale-string: French: fraction - arguments:
> ((out-of-range #f "Value out of range ~S to ~S: ~S" (0 4 5) (5)))
> ERROR: i18n.test: number->locale-string: French: fraction, 1 digit -
> arguments: ((out-of-range #f "Value out of range ~S to ~S: ~S" (0 4 5)
> (5)))
What does “locale -a | grep FR” say on your system?
Can you try this and report the backtrace?
(let ((fr (make-locale LC_ALL "fr_FR.utf8")))
(number->locale-string 123456 #t fr))
(If necessary, replace “fr_FR.utf8” with the locale name you found
above.)
Thanks for the report,
Ludo’.