From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: i18n issues on NetBSD Date: Tue, 11 Aug 2009 18:05:07 -0400 Message-ID: References: <8763cuwdkl.fsf@gnu.org> <87my66tbdm.fsf_-_@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1250028332 14312 80.91.229.12 (11 Aug 2009 22:05:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 22:05:32 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Aug 12 00:05:25 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MazT6-0000pw-Bb for guile-devel@m.gmane.org; Wed, 12 Aug 2009 00:05:20 +0200 Original-Received: from localhost ([127.0.0.1]:54047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MazT4-0000hI-Ld for guile-devel@m.gmane.org; Tue, 11 Aug 2009 18:05:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MazT1-0000fp-LA for guile-devel@gnu.org; Tue, 11 Aug 2009 18:05:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MazSw-0000W3-Ef for guile-devel@gnu.org; Tue, 11 Aug 2009 18:05:14 -0400 Original-Received: from [199.232.76.173] (port=43173 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MazSw-0000Vs-AK for guile-devel@gnu.org; Tue, 11 Aug 2009 18:05:10 -0400 Original-Received: from fnord.ir.bbn.com ([192.1.100.210]:51836) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MazSt-0003p1-W1; Tue, 11 Aug 2009 18:05:08 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 43EA153E7; Tue, 11 Aug 2009 18:05:07 -0400 (EDT) X-Hashcash: 1:20:090811:ludo@gnu.org::ccn8Ce6q1NZbCt8P:000001we2 X-Hashcash: 1:20:090811:guile-devel@gnu.org::ij74ktXUT32LQnpR:0000000000000000000000000000000000000000004KbN In-Reply-To: <87my66tbdm.fsf_-_@gnu.org> ("Ludovic =?iso-8859-1?Q?Court=E8?= =?iso-8859-1?Q?s=22's?= message of "Tue, 11 Aug 2009 21:10:29 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (berkeley-unix) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9083 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable scheme@(guile-user)> (setlocale LC_ALL "does-not-exist")=20=20 "C" list gdt 8 ~ > cat l.c #include #include #include #include #include int main (int argc, char *argv[]) { char *s; s =3D setlocale (LC_ALL, "C"); assert (s !=3D NULL); printf ("DAY_1: %s\n", nl_langinfo (DAY_1)); s =3D setlocale (LC_ALL, "en_GB"); assert (s !=3D NULL); printf ("DAY_1: %s\n", nl_langinfo (DAY_1)); return 0; } list gdt 9 ~ > cc -o l l.c list gdt 10 ~ > ./l DAY_1: Sun DAY_1: Sun But if I run this on a linux box I get gdt 78 ~ > ./l DAY_1: Sunday l: l.c:20: main: Assertion `s !=3D ((void *)0)' failed. Aborted I'm afraid I don't really understand i18n details. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (NetBSD) iEYEARECAAYFAkqB6xMACgkQ+vesoDJhHiWPCQCfVID61k/Ln7gKZcjp+zHam/CP L4YAni854UnJ/FnTxjTIzFN8SjuRYAuI =vBBN -----END PGP SIGNATURE----- --=-=-=--