On Wed, Mar 5, 2008 at 8:28 AM, Robin Lee Powell <[EMAIL PROTECTED]> wrote: > > I copied the attached example directly from > http://srfi.schemers.org/srfi-29/srfi-29.html , with the following > changes: > > 1. I don't use store-bundle! or load-bundle! at all > > 2. I force the language to French. > > Actually running it gives me: > > Error: (fprintf) illegal format-string character: #\1 > > Call history: > > <syntax> (localized-message (quote goodbye) myname) > <syntax> (quote goodbye) > <syntax> (display #\newline) > <eval> (display (localized-message (quote time) "12:00" > myname)) > <eval> (localized-message (quote time) "12:00" myname) > <eval> [localized-message] (apply format (cons > (localized-template (quote hello-program) message-name) args)) > <eval> [localized-message] (cons (localized-template (quote > hello-program) message-name) args) > <eval> [localized-message] (localized-template (quote > hello-program) message-name) <-- > > This seems te be coming from the "[EMAIL PROTECTED], c'est ~a." string, which > srfi-29 says it supports. Am I missing something? > > CHICKEN Version 2.726 > > Just downloaded the egg, so should be the latest. >
You need a version of "format" that is more capable than the builtin one (which builds on [sf]printf). Install "format-modular" or "format", and load that before srfi-29. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
