From owner-freebsd-i18n@FreeBSD.ORG Thu Feb 2 18:35:11 2012 Return-Path: Delivered-To: freebsd-i18n@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E24A1065670 for ; Thu, 2 Feb 2012 18:35:11 +0000 (UTC) (envelope-from victor@bsdes.net) Received: from equilibrium.bsdes.net (244.Red-217-126-240.staticIP.rima-tde.net [217.126.240.244]) by mx1.freebsd.org (Postfix) with ESMTP id E4D338FC18 for ; Thu, 2 Feb 2012 18:35:10 +0000 (UTC) Received: by equilibrium.bsdes.net (Postfix, from userid 1001) id 84A9E39836; Thu, 2 Feb 2012 19:17:21 +0100 (CET) Date: Thu, 2 Feb 2012 19:17:21 +0100 From: Victor Balada Diaz To: freebsd-i18n@freebsd.org Message-ID: <20120202181721.GG2204@equilibrium.bsdes.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) Subject: i18n not working during startup X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 18:35:11 -0000 Hello, 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: :setenv=LC_ALL=en_US.UTF-8:\ :lang=en_US.UTF-8:\ 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. Is there any other way of setting up lang settings for system startup daemons? FreeBSD version: 7.4 Arch: amd64 Thanks a lot. Regards -- La prueba más fehaciente de que existe vida inteligente en otros planetas, es que no han intentado contactar con nosotros.