Date: Wed, 8 Feb 2012 13:46:57 +0100 From: Gala IT <it@galasoluciones.com> To: Victor Balada Diaz <victor@bsdes.net> Cc: stable@freebsd.org Subject: Re: i18n not working during startup Message-ID: <8F843E45-7222-40B6-BF46-5B3DD5291229@galasoluciones.com> In-Reply-To: <20120208121118.GH2010@equilibrium.bsdes.net> References: <20120208121118.GH2010@equilibrium.bsdes.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Victor, Try setting tomcat7_java_opts=3D"-Dfile.encoding=3DUTF-8" in = /etc/rc.conf. It works for us under 8.2. Kind regards, David. El 08/02/2012, a les 13:11, Victor Balada Diaz va escriure: > Hello, >=20 > I tried freebsd-i18n but no one answered, so i will try better luck = here. Sorry > for the people who are subscribed to both lists. >=20 > ----- Forwarded message from Victor Balada Diaz <victor@bsdes.net> = ----- >=20 > Date: Thu, 2 Feb 2012 19:17:21 +0100 > From: Victor Balada Diaz <victor@bsdes.net> > To: freebsd-i18n@freebsd.org > Subject: i18n not working during startup > User-Agent: Mutt/1.5.21 (2010-09-15) >=20 > Hello, >=20 > I've setup login classes by handbook recommendation but seems that = daemons started by rc > at system bootup don't use it. What i'm actually trying to do is = configure tomcat to > use UTF-8 by default. I've configured it's user class on = /etc/login.conf adding: >=20 > :setenv=3DLC_ALL=3Den_US.UTF-8:\ > :lang=3Den_US.UTF-8:\ >=20 > rebuilt login.conf db and tried rebooting. It doesn't seem to have = lang or lc_all set > in their environment. As a workaround i thought about adding export = lines at start of > /etc/rc.conf, but that's an ugly hack.=20 >=20 > Is there any other way of setting up lang settings for system startup = daemons? >=20 > FreeBSD version: 7.4 > Arch: amd64 >=20 > Thanks a lot. > Regards > --=20 > La prueba m=E1s fehaciente de que existe vida inteligente en otros > planetas, es que no han intentado contactar con nosotros.=20 >=20 > ----- End forwarded message ----- >=20 > --=20 > La prueba m=E1s fehaciente de que existe vida inteligente en otros > planetas, es que no han intentado contactar con nosotros.=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F843E45-7222-40B6-BF46-5B3DD5291229>