Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 00:59:06 +0400
From:      Boris B.Samorodov <bsam@ipt.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        openoffice@freebsd.org
Subject:   Wrong russian encoding after saving new file in RTF format by OpenOffice
Message-ID:  <E1B83qc-000GXk-LO@bsam.ru>

next in thread | raw e-mail | index | archive | help

>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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1B83qc-000GXk-LO>