From owner-freebsd-questions Sat Jan 19 2:22:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from foo31-249.visit.se (foo31-146.visit.se [62.119.31.146]) by hub.freebsd.org (Postfix) with ESMTP id ADE2437B400 for ; Sat, 19 Jan 2002 02:22:48 -0800 (PST) Received: by foo31-249.visit.se (Postfix, from userid 1001) id 9C7E0A8921; Sat, 19 Jan 2002 11:22:24 +0100 (CET) Date: Sat, 19 Jan 2002 11:22:24 +0100 From: Martin Karlsson To: Ricardas Cepas Cc: freebsd-questions@freebsd.org Subject: Re: utf-8 locales in freebsd ? Message-ID: <20020119102224.GA6408@foo31-249.visit.se> Mail-Followup-To: Ricardas Cepas , freebsd-questions@freebsd.org References: <20020119063710.GA2750@foo31-249.visit.se> <20020119093102.GO77146@richard.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20020119093102.GO77146@richard.eu.org> User-Agent: Mutt/1.3.25i X-Editor: Vim http://www.vim.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! I lost you halfway trough, hope you don't mind helping me out :) On Sat Jan 19, 2002 at 11:31:02AM +0200, Ricardas Cepas wrote: [...snip...] > You need to do something like this using your locale name, LOCALEDIR is > /usr/share/locale: > install -d ${LOCALEDIR}/lt_LT.UTF-8/ > ln -fs ../la_LN.ASCII/LC_COLLATE ${LOCALEDIR}/lt_LT.UTF-8/LC_COLLATE > mklocale -o ${LOCALEDIR}/lt_LT.UTF-8/LC_CTYPE attached_file/lt_LT.UTF-8.src > grep -v '^#' > ${LOCALEDIR}/lt_LT.UTF-8/LC_TIME [...snip...] I successfully made it up to "grep -v '^#'". The output of that command appears to be... well, nothing. I'm pretty sure I've misunderstood you. Then, after having converted /usr/share/locale/sv_SE.ISO_8859-1/LC_TIME (iconv -f iso-8859-1 -t utf-8 ...LC_CTIME > sv.SE.UTF-8.src.new), I understood I was supposed to run the above "mklocale..."-command (with LC_TIME instead of LC_COLLATE). When I try that, I get "Lex is skipping...[one char at the time], syntax error. Please help me get back on track! TIA -- Martin Karlsson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message