From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 22:13:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03E2C16A4CE for ; Tue, 21 Dec 2004 22:13:27 +0000 (GMT) Received: from sapo.pt (relay1.ptmail.sapo.pt [212.55.154.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 25E2843D41 for ; Tue, 21 Dec 2004 22:13:26 +0000 (GMT) (envelope-from gamito@netual.pt) Received: (qmail 20354 invoked from network); 21 Dec 2004 22:13:23 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.151) by relay1 with SMTP; 21 Dec 2004 22:13:23 -0000 Received: (qmail 9289 invoked from network); 21 Dec 2004 22:13:23 -0000 Received: from unknown (HELO [10.0.0.5]) ([81.193.21.199]) (envelope-sender ) by mta1 (qmail-ldap-1.03) with SMTP for ; 21 Dec 2004 22:13:23 -0000 Message-ID: <41C89FFF.7050606@netual.pt> Date: Tue, 21 Dec 2004 22:13:19 +0000 From: =?ISO-8859-1?Q?M=E1rio_Gamito?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Norgaard References: <41C8807F.2080004@netual.pt> <41C8895D.4060606@locolomo.org> <41C88D15.4090603@netual.pt> <41C893F6.6090503@locolomo.org> <41C895B2.8030108@netual.pt> <41C89AD7.6040206@locolomo.org> In-Reply-To: <41C89AD7.6040206@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: No latin characters :( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 22:13:27 -0000 Hi again, I did everything just as you told me. When i type a latin letter like á, etc., i get a greek letter :( Never mind. Thank you so much for your time and patince. Warm Regards, Mário Gamito Erik Norgaard wrote: > Mário Gamito wrote: > >> Thank you for your patience. >> >> I did what you told me, but i get: >> >> "login_getclass: unknown class 'pt_PT'" > > > Did you create a login class 'pt_PT' in login.conf? > > pt_PT:Portugeese users:\ > :charset=iso-8859-1:\ > :lang=pt_PT.ISO8859-1:\ > :tc=default: > > and did you run > > # cap_mkdb login.conf > > after that? > > The main reason I like to create a specific class is to keep default as > is, but if you're the only one on your system, you could set 'lang' and > 'charset' in the default section and leave the class-field in the > password file empty. > > The important thing is to set the charset variable. > > True, it is not completly obvious how to get it right, and there is more > than one way to do it which can be confusing. The individual user can > override the varables set in login.conf(5) by editing .login_conf. > > If you feel you need to play and test, it might be wise to try and set > some environment viriables: MM_CHARSET and LANG are set by the above > mentioned. > > Cheers, Erik > > PS: While you are at it, you might want to change password format to > blowfish (blf) instead of md5, this is also done in login.conf. But > that's another story :-) -- Mário Gamito Administração de sistemas e desenvolvimento Netual - Multimédia e Telecomunicações, Lda. Rua João Afonso, Nº1 3800-198 Aveiro - Portugal Tel. +351 234 371 431 / Fax. +351 234 371 438 E-mail: gamito@netual.pt www.netual.pt