From owner-freebsd-openoffice Sun Sep 1 17:22: 9 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 161A237B405 for ; Sun, 1 Sep 2002 17:21:56 -0700 (PDT) Received: from boromir.vpop.net (dns1.vpop.net [207.178.248.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C39D743E3B for ; Sun, 1 Sep 2002 17:21:55 -0700 (PDT) (envelope-from mreimer@vpop.net) Received: from vpop.net (bilbo.vpop.net [65.103.33.41]) by boromir.vpop.net (Postfix) with ESMTP id EF90A3A6008; Sun, 1 Sep 2002 17:21:45 -0700 (PDT) Message-ID: <3D72AF33.9020508@vpop.net> Date: Sun, 01 Sep 2002 19:22:11 -0500 From: Matthew Reimer Organization: VPOP Technologies, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20020829 X-Accept-Language: en-us, en MIME-Version: 1.0 To: openoffice@freebsd.org Subject: Re: No UTF-8 support? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Martin Blapp wrote: > Hi, > > >>I upgraded to OOo 1.0.1, and it is working fine except for UTF-8. >>Previously I was using 1.0 and en_US.UTF-8 (from the misc/utf8locale >>port) worked fine. Mozilla and xterm work fine with en_US.UTF-8. >> >>Is the solution as simple as adding a define to >>patch-sal::osl::unx::nlsupport.c to list UTF-8 as in the NetBSD section? >>E.g.: > > > Yes. That should do it. Can you test this ? Do we have this in > our system locale ? I haven't tested it by building OOo, but I hacked libsal.so.3.0.1 with a hex editor to test it, and it worked fine. en_US.UTF-8 isn't in the system locale but it is supplied by the utf8locale port, which installs this and a few other locales into /usr/local/share/locale and makes to them in /usr/share/locale. Matt >>+ { "UTF-8", RTL_TEXTENCODING_UTF8 } /* >>ISO-10646/UTF-8 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message