From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 08:33:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1750B1065683 for ; Thu, 23 Oct 2008 08:33:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id CD28F8FC24 for ; Thu, 23 Oct 2008 08:33:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-41-11.dynamic.qsc.de [92.195.41.11]) by mx02.qsc.de (Postfix) with ESMTP id 6DAB716C00D2; Thu, 23 Oct 2008 10:33:37 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m9N8XaQ6010207; Thu, 23 Oct 2008 10:33:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 23 Oct 2008 10:33:36 +0200 From: Polytropon To: Frank Bonnet Message-Id: <20081023103336.5528b075.freebsd@edvax.de> In-Reply-To: <49002EF3.6020001@esiee.fr> References: <49002EF3.6020001@esiee.fr> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: LOCALE ? FR-fr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 08:33:40 -0000 On Thu, 23 Oct 2008 09:59:47 +0200, Frank Bonnet wrote: > Hello > > I would like one of our server acting as a WebDAV server to allow > French characters in filename , how to do so ? I'm not sure which charset you will need, maybe ISO-8859-1 or -15 will do the job to allow accents and other things special to the french language? Set the correct LC_* variables via /etc/login.conf (elegant) or via /etc/csh.cshrc (may be considered ugly, but works). For the last case, it would be something like this: setenv LC_ALL fr_FR.ISO8859-15 You can do it more "fine grained", if you wish to leave some of the configurable things to the standard, for example: setenv LC_COLLATE fr_FR.ISO8859-15 setenv LC_CTYPE fr_FR.ISO8859-15 setenv LC_MESSAGES en_US.ISO8859-15 setenv LC_MONETARY fr_FR.ISO8859-15 setenv LC_NUMERIC fr_FR.ISO8859-15 setenv LC_TIME fr_FR.ISO8859-15 I have a similar setting for the german language (de_DE) which allows me to use Umlauts in file names. BUT ATTENTION! I won't recommend anyone to use others but the standard character set for filenames. It can lead to problems if you're transfering files to a system which doesn't support special characters from the french language or is unable to remap them correctly. In my opinion, such characters should not be in a filename, as well as whitespaces, ampersands, apostrophes, doublequotes or similar things. I know it's possible, but it sometimes can make things _really_ difficult. I hope you won't run into such problems. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...