Date: Thu, 23 Oct 2008 10:48:40 +0200 From: Frank Bonnet <f.bonnet@esiee.fr> To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org Subject: Re: LOCALE ? FR-fr Message-ID: <49003A68.9080503@esiee.fr> In-Reply-To: <20081023103336.5528b075.freebsd@edvax.de> References: <49002EF3.6020001@esiee.fr> <20081023103336.5528b075.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon wrote: > On Thu, 23 Oct 2008 09:59:47 +0200, Frank Bonnet <f.bonnet@esiee.fr> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49003A68.9080503>
