[FreeBSD port]: devel/glib20
Alexander Nedotsukov
bland at FreeBSD.org
Thu Feb 26 22:39:01 PST 2009
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 <stas at freebsd.org>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 26 Feb 2009 12:15:37 +0900
> Alexander Nedotsukov <bland at FreeBSD.org> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
More information about the freebsd-gnome
mailing list