From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 08:48:43 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 2742D1065673 for ; Thu, 23 Oct 2008 08:48:43 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id 2DB048FC24 for ; Thu, 23 Oct 2008 08:48:42 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id 85D66130DED; Thu, 23 Oct 2008 10:48:41 +0200 (CEST) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 7053F29278; Thu, 23 Oct 2008 10:48:41 +0200 (CEST) Received: from privftp.esiee.fr (privftp.esiee.fr [147.215.1.190]) by mail.esiee.fr (Postfix) with ESMTP id 63B4229278; Thu, 23 Oct 2008 10:48:41 +0200 (CEST) Received: from lisa.esiee.fr (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by privftp.esiee.fr (Postfix) with ESMTPSA id 537503981A; Thu, 23 Oct 2008 10:48:41 +0200 (CEST) Message-ID: <49003A68.9080503@esiee.fr> Date: Thu, 23 Oct 2008 10:48:40 +0200 From: Frank Bonnet User-Agent: Thunderbird 2.0.0.17 (X11/20081003) MIME-Version: 1.0 To: Polytropon References: <49002EF3.6020001@esiee.fr> <20081023103336.5528b075.freebsd@edvax.de> In-Reply-To: <20081023103336.5528b075.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 08:48:43 -0000 Polytropon wrote: > 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. > > Thanks a lot for your help ! I only want to allow French characters in filenames not all the environemment so I gonna check with the help you gave :-) thanks