Bug#175370: Why so many locale_printf?
I found many substitution of printf() family of functions
into locale_printf() and so on. I guess it converts from
UTF-8 into locale encoding.
However, I also found that gettext strings, _("something"),
is used for parameters for locale_printf(). Since gettext
passes translated strings in locale encoding, I don't think
further conversion is needed. (Rather, it is harmful.)
Am I missing something?
all needed initialization for gettext and locale;
printf(_("something\n")); /* not locale_printf */
works, for example, both in de_DE.ISO-8859-1 and de_DE.UTF-8,
regardless of the encoding of po file.
Tomohiro KUBOTA <firstname.lastname@example.org>