From owner-freebsd-gnome@FreeBSD.ORG Sat Jul 3 04:31:16 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC7DB1065675; Sat, 3 Jul 2010 04:31:16 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by mx1.freebsd.org (Postfix) with ESMTP id A65408FC12; Sat, 3 Jul 2010 04:31:16 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=KOI8-R Received: from aldan.narawntapu ([unknown] [173.70.194.135]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L4Y006WKPRN75FH@vms173019.mailsrvcs.net>; Fri, 02 Jul 2010 22:31:04 -0500 (CDT) Message-id: <4C2EAEF2.1030501@aldan.algebra.com> Date: Fri, 02 Jul 2010 23:30:58 -0400 From: "Mikhail T." User-Agent: Thunderbird 2.0.0.24 (X11/20100626) To: Joe Marcus Clarke References: <4C2A4E53.8050408@aldan.algebra.com> <4C2A75DB.4030109@aldan.algebra.com> <4C2B626D.5000503@aldan.algebra.com> <4C2E9B03.4070406@freebsd.org> In-reply-to: <4C2E9B03.4070406@freebsd.org> X-Mailman-Approved-At: Sat, 03 Jul 2010 04:40:18 +0000 Cc: gnome@freebsd.org, portmgr@freebsd.org Subject: Re: a GTK-using application crashes, when LANG is set to non-UTF8 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2010 04:31:16 -0000 Joe Marcus Clarke ΞΑΠΙΣΑΧ(ΜΑ): >> -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ >> +CONFIGURE_ENV= CFLAGS="-D__STDC_ISO_10646__" \ >> + CPPFLAGS="-I${LOCALBASE}/include" \ >> >> >> Or, perhaps, this can be controlled by the the glib20-port's >> "COLLATION_FIX" knob? If so, then it should be set /on/ by default... >> >> Would it speed things up, if I file an (urgent) PR regarding this? I >> think, it would be prudent to ship 8.1 with this problem resolved... >> Please, advise. Thanks! >> > > What affects does this have on UTF-8 locales? I briefly read through > the related Solaris bug, and it seems like adding this definition could > cause crashes for UTF-8 users. > I believe, Ivan tested both on his system -- he own charset is usually UTF-8. Ivan, could you confirm, please? That said, I don't think, the Solaris bug mentions crashes for UTF-8 users either way... We need a solution of some sort. I'm surprised, this hasn't been reported yet... The utf8_collate function in glib, pretty much, has two different implementations #ifdef-ed by the __STDC_ISO_10646__. Can anybody on this thread ask the glib developers, what the right use of the define is? Thanks! -mi