delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/21/09:18:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: "A. Alper ATICI" <alper DOT atici AT softhome DOT net>
Subject: Re: tin-1.6.2: 8-bit chars not displayed, gettext transliterates
Date: Sun, 21 Mar 2004 16:18:55 +0200
Lines: 38
Message-ID: <c3k87f$ced$1@sea.gmane.org>
References: <c3en5t$ubr$1 AT sea DOT gmane DOT org> <20040320100546 DOT GA19548 AT cygbert DOT vinschen DOT de> <c3hm7u$1qm$1 AT sea DOT gmane DOT org> <20040321123855 DOT GA27936 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: mstr195175-13912.dial-in.ttnet.net.tr
X-Newsreader: Forte Agent 2.0/32.646

On Sun, 21 Mar 2004 13:38:55 +0100, Corinna Vinschen
<corinna-cygwin AT cygwin DOT com> wrote:
>
>Cool, I've tweaked tin accordingly.  The above seems to be better
>changed in include/tin.h:
>
>--- tin.h.orig  2004-03-21 13:31:14.969448200 +0100
>+++ tin.h       2004-03-21 13:31:32.747629500 +0100
>@@ -63,8 +63,8 @@
> #      define INET6
> #endif /* HAVE_GETADDRINFO && HAVE_GAI_STRERROR && ENABLE_IPV6 */
> 
>-/* Locale support in Mac OS X doesn't work yet, so turn it off */
>-#if defined (MAC_OS_X)
>+/* Locale support in Mac OS X and in Cygwin doesn't work yet, so turn it off */
>+#if defined (MAC_OS_X) || defined (__CYGWIN__)
> #      ifndef NO_LOCALE
> #              define NO_LOCALE 1
> #      endif /* !NO_LOCALE */
>
>I've uploaded a new package containing that fix and build with
>--disable-locale.
>

--disable-locale already does what you've patched tin.h for, 
see include/autoconf.h after running configure.

OTOH, setting --disable-locale has a side-effect: you lose NLS
alltogether, i.e. try the commandline I posted previously and you
won't get messsages in German anymore. My tweak addresses this issue,
i.e. you should find a way to execute bindtextdomain() and
textdomain() functions when NO_LOCALE is set.



--
Alper Atıcı
PGP key @ http://sks.dnsalias.net:11371/pks/lookup?op=index&search=0xB824F550


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019