[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: UTF-8 support for Unix with APR?

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Wed, 13 Feb 2008 12:34:15 +0100

On 2008-02-12 13:52:41 +0100, Erik Huelsmann wrote:
> The APR libraries handle file paths in the system locale. This means
> they *may* be encoded in UTF-8, but are not necessarily. When they are
> interpreted as UTF-8 depends on the LANG or LC_CTYPE settings in the
> host environment.

This is broken. APR should switch to UTF-8 locales internally when it
deals with filenames (like what GNOME apps do). Otherwise this leads
to consistency problems when the user has both ISO-8859-1 and UTF-8
terminal sessions (the reason is that some applications and/or some
machines do not support multibyte character sets, and one wouldn't
want to mess everything when running svn in degraded mode, i.e. with
ISO-8859-1 locales).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-13 12:34:34 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.