Simone Piunno <[EMAIL PROTECTED]> writes: > On Monday 21 February 2005 16:18, Hrvoje Niksic wrote: > >> Also, gettext doesn't change behavior of low-level routines in a >> fundamental way -- it's just a way of getting different strings. >> On the other hand, wide chars do introduce pretty invasive changes >> to the way things work. The most basic things like printf and >> strlen suddenly no longer work. > > Except this is a wrong assumption. > > gettext gives you a char pointer, but what's inside that buffer? It > depends on the *user's* locale, and therefore could be anything, > including widechars.
If wide chars were in that message, you could no longer print it with printf, which means that a majority of gettext-using programs would be utterly broken, Wget included. I imagine I would have gotten a bunch of bug reports for that kind of thing in the 7 or so years that Wget has been using gettext.
