Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 19:02:13 -0500
From:      Peter <pmatulis@sympatico.ca>
To:        freebsd-questions@freebsd.org
Cc:        Kevin Downey <redchin@gmail.com>
Subject:   Re: toggle between english and french (how?)
Message-ID:  <200702061902.14006.pmatulis@sympatico.ca>
In-Reply-To: <1d3ed48c0702061528w5ad73393w123430e008532566@mail.gmail.com>
References:  <200702061729.09543.pmatulis@sympatico.ca> <200702061750.24340.pmatulis@sympatico.ca> <1d3ed48c0702061528w5ad73393w123430e008532566@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Mardi 6 F=C3=A9vrier 2007 18:28, Kevin Downey a =C3=A9crit=C2=A0:
> On 2/6/07, Peter <pmatulis@sympatico.ca> wrote:
> > Le Mardi 6 F=C3=A9vrier 2007 17:45, Andrew Pantyukhin a =C3=A9crit:
> > > On 2/7/07, Peter <pmatulis@sympatico.ca> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702061902.14006.pmatulis>