From owner-freebsd-questions@FreeBSD.ORG Wed Feb 7 00:03:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 419B716A413 for ; Wed, 7 Feb 2007 00:03:02 +0000 (UTC) (envelope-from pmatulis@sympatico.ca) Received: from bay0-omc1-s19.bay0.hotmail.com (bay0-omc1-s19.bay0.hotmail.com [65.54.246.91]) by mx1.freebsd.org (Postfix) with ESMTP id 3383F13C481 for ; Wed, 7 Feb 2007 00:02:07 +0000 (UTC) (envelope-from pmatulis@sympatico.ca) Received: from bayc1-pasmtp09.bayc1.hotmail.com ([65.54.191.169]) by bay0-omc1-s19.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Tue, 6 Feb 2007 16:02:04 -0800 X-Originating-IP: [70.53.155.213] X-Originating-Email: [pmatulis@sympatico.ca] Received: from tantra ([70.53.155.213]) by bayc1-pasmtp09.bayc1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Feb 2007 16:03:34 -0800 From: Peter To: freebsd-questions@freebsd.org Date: Tue, 6 Feb 2007 19:02:13 -0500 User-Agent: KMail/1.9.1 References: <200702061729.09543.pmatulis@sympatico.ca> <200702061750.24340.pmatulis@sympatico.ca> <1d3ed48c0702061528w5ad73393w123430e008532566@mail.gmail.com> In-Reply-To: <1d3ed48c0702061528w5ad73393w123430e008532566@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200702061902.14006.pmatulis@sympatico.ca> X-OriginalArrivalTime: 07 Feb 2007 00:03:35.0140 (UTC) FILETIME=[69348240:01C74A4B] Cc: Kevin Downey Subject: Re: toggle between english and french (how?) 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: Wed, 07 Feb 2007 00:03:05 -0000 Le Mardi 6 F=C3=A9vrier 2007 18:28, Kevin Downey a =C3=A9crit=C2=A0: > On 2/6/07, Peter wrote: > > Le Mardi 6 F=C3=A9vrier 2007 17:45, Andrew Pantyukhin a =C3=A9crit: > > > On 2/7/07, Peter wrote: > > > > I have a 6.2 box on which I intend to set up a web server > > > > (lighttpd) and a file server (samba). The kicker is that I > > > > will need to allow for French characters (=C3=A9, =C3=A0, =C3=A7, e= tc). I had > > > > such an issue before but only managed to solve it at the X > > > > level (via xorg.conf). Now I need to solve it at the console > > > > level. > > > > > > > > The Handbook has a lot of ideas but it seems focused on a per > > > > user basis instead of on a system level basis. Then again, > > > > maybe I just don't understand what its trying to say. > > > > > > > > I would also need to toggle back and forth between English and > > > > French. > > > > > > > > Thanks in advance to any responders, > > > > > > Are you sure about the console level? If you plan > > > to access the server via ssh, you only need to > > > set server-side locale right, the rest is handled > > > at the client side. > > > > I assume by server-side you mean within samba and lighttpd. Yes, > > as long as these two can output the characters then I'm happy. I > > just copied the first paragraph of my posting into lighttpd and > > this is what came back in my browser: > > > > I have a 6.2 box on which I intend to set up a web server > > (lighttpd) and a file server (samba). The kicker is that I will > > need to allow for French characters (=C3=83(c),=C3=83=C2=A7, etc). I ha= d such an > > issue before but only managed to solve it at the X level (via > > xorg.conf). Now I need to solve it at the console level. > > I would check to see what charset lighttpd is serving the file as and > what charset your browser is using (and then just set everything to > utf8) and make sure they are all correct. iso-8859-1 on both I tried setting both my test html document and my browser to utf8 but my=20 browser (FF) did not have it in its list. However, the server-side=20 change allowed me to see the characters. Weird. Thanks a lot Kevin. PM