From owner-freebsd-openoffice@FreeBSD.ORG Mon Mar 29 12:57:54 2004 Return-Path: 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 E9CCC16A4CE; Mon, 29 Mar 2004 12:57:54 -0800 (PST) Received: from bsam.ru (unknown [195.177.217.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F6D343D41; Mon, 29 Mar 2004 12:57:53 -0800 (PST) (envelope-from bsam@bsam.ru) Received: from bsam by bsam.ru with local (Exim 4.30; FreeBSD) id 1B83qc-000GXk-LO; Tue, 30 Mar 2004 00:59:06 +0400 To: FreeBSD-gnats-submit@freebsd.org From: Boris B.Samorodov X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: Sender: "Boris B. Samorodov" Date: Tue, 30 Mar 2004 00:59:06 +0400 cc: openoffice@freebsd.org Subject: Wrong russian encoding after saving new file in RTF format by OpenOffice X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Boris B.Samorodov" List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 20:57:55 -0000 >Submitter-Id: current-users >Originator: Boris B. Samorodov >Organization: InPharmTech >Confidential: no >Synopsis: Wrong russian encoding after saving new file in RTF format by OpenOffice >Severity: non-critical >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 5.2.1-RELEASE-p3 i386 >Environment: System: FreeBSD srv.sem.ipt.ru 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #4: Sat Mar 27 19:28:27 MSK 2004 bsam@srv.sem.ipt.ru:/usr/obj/usr/src/sys/SRV i386 XFree86-4.4.0.RC2, OpenOfffice-1.1.1.RC3, locale ru_RU.KOI8-R >Description: I create new text file in openoffice-writer, write some russian text and save file at RTF format. After opening this file I see wrong encoding for russian text. The encoding looks like win1251 (windows cyrillic). Workaround: save blank file at RTF format and close it. After reopenning it, one can do the russian stuff: typing, saving, closing, reopenning. All is fine. Neither Linux, nor Windows version does not have this bug. OpenOffice originally saves text at unicode format, but in FreeBSD port there is a patch called patch-wrtrtf. The patch leads to saving file at non-unicode format. Probably, the patch do the right thing after opening existing file. But saving new file at RTF format is invalid. The same results are in OpenOffice-1.1.0 (english), 1.1.1.RC3 (english), 1.1.1.RC1 (russian, installed from russian/OpenOffice-1.1). >How-To-Repeat: Locale is ru_RU.KOI8-R. Open new file in openoffice-writer. Type some russian text. Save file in RTF format. Open this file. See wrong encoding. >Fix: No fix.