Please send things like this to [EMAIL PROTECTED], as is documented, not to
any one individual (I'm cc'ing this reply there).  I'll have to let the
non-U.S. folks evaluate the below.

Philipp Thomas <[EMAIL PROTECTED]> writes:
> Dan,
> 
> I haven't checked development versions, but wget 1.6 needs a small patch
> to make it display correctly in locales different from C/POSIX under
> glibc2.2 and up. Specifically, LC_CTYPE has to be set along with LC_MESSAGES
> to correctly set the terminal output charset. I've included that patch at
> the end.
> 
> Now this has additional implications as now the behaviour of the ctype.h
> macros changes. One solution for this would be to use the safe-ctype.h
> header created for GCC to circumvent exactly this problem. safe-ctype.h
> defines all the necessary stuff but based on the C/POSIX locale and is *not*
> locale dependent. If this is an acceptable solution for you, I could do the
> changes and then send you the diffs.
> 
> Philipp
> 
> --- src/main.c.original       Thu Mar  1 21:36:23 2001
> +++ src/main.c        Thu Mar  1 21:37:24 2001
> @@ -90,6 +90,7 @@
>       makes http_atotm() malfunction.  */
>  #ifdef LC_MESSAGES
>    setlocale (LC_MESSAGES, "");
> +  setlocale (LC_CTYPE, "");
>  #else
>    setlocale (LC_ALL, "");
>  #endif
> 
> 
> 
> -- 
> Philipp Thomas <[EMAIL PROTECTED]>
> Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany
> 
> Penguins shall save the dinosaurs
>                           -- Handelsblatt about Linux on S/390

---------------------------------------------------------------
Dan Harkless            | To help prevent SPAM contamination,
GNU Wget co-maintainer  | please do not mention this email
http://sunsite.dk/wget/ | address in Usenet posts -- thank you.

Reply via email to