From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2443 invoked by uid 1002); 9 Nov 2003 04:53:13 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 23625 invoked from network); 9 Nov 2003 04:53:13 -0000 X-Authentication-Warning: localhost.localdomain: leio set sender to leio@dustbite.net using -f From: Mart Raudsepp To: gentoo-dev@gentoo.org In-Reply-To: <1067530131.13432.49.camel@huggins.eng.cam.ac.uk> References: <200308131934.34607.vapier@gentoo.org> <200308140138.43727.lanius@gentoo.org> <200308140140.40185.lanius@gentoo.org> <86vfq7dk66.wl%usata@gentoo.org> <1067530131.13432.49.camel@huggins.eng.cam.ac.uk> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1068353611.4288.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 09 Nov 2003 06:53:31 +0200 Subject: Re: [gentoo-dev] better handling of multibyte characters (nls/cjk/unicode) X-Archives-Salt: 3d4e9bf1-40fd-4099-99dd-183e14a2c8fd X-Archives-Hash: 1c3d372dc8dcb4d3347353025d231f8f Alastair Tse kirjutas N, 30.10.2003 kell 18:08: > On Thu, 2003-10-30 at 11:44, Mamoru KOMACHI wrote: > > > > /me votes for unicode use-flag > > > > > > should also be activated in all profiles by default. > > > > Any objection if I add unicode USE flag (and make it default in all > > profiles) ? We cannot simply convert cjk USE flag to unicode, but in > > wxGTK is currently using a local unicode useflag to enable unicode > support. However, this is experimental so I rather not have unicode > default in all profiles just yet. By compiling with the unicode useflag, > you'll end up with certain wxGTK apps failing to merge. Sorry for a really delayed answer. To my knowledge unicode support in wxGTK isn't experimental but rather suggested but not enforced. The reason why certain wxGTK apps fail to merge is that they don't comform with the unicode wxWindows prerequisites. Quote from wxWindows docs: "The important conclusion is that if you use wxChar instead of char, avoid using C style strings and use wxString instead and don't forget to enclose all string literals inside wxT() macro, your program automatically becomes (almost) Unicode compliant!" Those certain apps fail to follow the above. And to be honest, my own wxWindows projects fail to follow it aswell, but that will be fixed soon ;) Oh, and instead of wxT() one should use _() to automagically add i18n support aswell. So my conclusion is that we still should make USE=unicode be default (put into the profiles), but ebuilds that depend upon wxGTK should be checked if the wxWindows app is unicode aware or not. If it isn't then it should simply remove the unicode flag in the ebuild. Personally I would add the unicode flag to make.conf and wxGTK apps that don't compile emerge with USE=-unicode, also I'd prod the app devs to make it follow wxWindows unicode prerequisites that aren't hard to follow (personal experience). -- gentoo-dev@gentoo.org mailing list