From owner-freebsd-gnome@FreeBSD.ORG Fri Feb 27 06:39:00 2009 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 E2DE71065674; Fri, 27 Feb 2009 06:39:00 +0000 (UTC) (envelope-from bland@FreeBSD.org) Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id A7D678FC1D; Fri, 27 Feb 2009 06:39:00 +0000 (UTC) (envelope-from bland@FreeBSD.org) Received: from hub.bbnest.net (w133033.ppp.asahi-net.or.jp [121.1.133.33]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id DE6A76AD0B; Fri, 27 Feb 2009 15:38:59 +0900 (JST) Received: from hub.bbnest.net (localhost [127.0.0.1]) by hub.bbnest.net (8.14.3/8.14.2) with ESMTP id n1R6cpqL078504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Feb 2009 15:38:51 +0900 (JST) (envelope-from bland@FreeBSD.org) Received: (from www@localhost) by hub.bbnest.net (8.14.3/8.14.2/Submit) id n1R6cp5J078503; Fri, 27 Feb 2009 15:38:51 +0900 (JST) (envelope-from bland@FreeBSD.org) X-Authentication-Warning: hub.bbnest.net: www set sender to bland@FreeBSD.org using -f To: Stanislav Sedov MIME-Version: 1.0 Date: Fri, 27 Feb 2009 15:38:51 +0900 From: Alexander Nedotsukov In-Reply-To: <20090226171049.89fade07.stas@FreeBSD.org> References: <20090224021026.ba40bdc2.stas@FreeBSD.org> <96ccb314d4001b2d09a4ed33fa20a330@mail> <20090226171049.89fade07.stas@FreeBSD.org> Message-ID: <3d89f0fc69b803898f61d8c0bedfc79a@mail> X-Sender: bland@FreeBSD.org User-Agent: RoundCube Webmail/0.2a Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" X-DSPAM-Result: Innocent X-DSPAM-Processed: Fri Feb 27 15:38:59 2009 X-DSPAM-Confidence: 0.9970 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 49a78a83785069404693998 Cc: gnome@FreeBSD.org Subject: Re: [FreeBSD port]: devel/glib20 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: Fri, 27 Feb 2009 06:39:01 -0000 Stanislav, This "nasty" GLib behavior is for a reason. Well at least from the CJK biased GLib developers point of view :-) The belief is there are reasonable amount of users who switches between UTF and non-UTF locales often. ATM GLib tries to validate filename as UTF-8 encoded first and fallback to the current locale encoding if it is not. This does not look normal to me but anyway. So if G_FILENAME_ENCODING thing is not broken by itself I suggest you to add this to your local .login_conf or do the same in the system wide /etc/login.conf if you like: me:\ :setenv=G_FILENAME_ENCODING=@locale: \ ... And we may want to add this to the FAQ. All the best, Alexander. On Thu, 26 Feb 2009 17:10:49 +0300, Stanislav Sedov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Thu, 26 Feb 2009 12:15:37 +0900 > Alexander Nedotsukov mentioned: > >> >> Did you say that this does not work as advertised? >> >> http://library.gnome.org/devel/glib/unstable/glib-running.html >> > > I believe this should work "by default". Not after setting some weird > 3rd party environment variables. And this is what users expect. > Furthermore, this is how major Linux distributions behave. > > That is especially true for FreeBSD, where most users don't use utf > locales and hurt by this problem. Doesn't totally broken filenames > look like a bug for you? In FreeBSD it's stated that everything should > work after setting LANG, why glib apps should be an exception from this > rule? > > - -- > Stanislav Sedov > ST4096-RIPE > -----BEGIN PGP SIGNATURE----- > > iEYEARECAAYFAkmmou0ACgkQK/VZk+smlYHhnwCeN09FXJ9Y90XVrZWgLoMuZ3WL > EkQAnjk4y2p4X0vamQySmAHoDTvNCskQ > =9cWp > -----END PGP SIGNATURE----- > > !DSPAM:49a6a2e5967006502419967! > > > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"