Wrong russian encoding after saving new file in RTF format by
OpenOffice
Boris B.Samorodov
bsam at ipt.ru
Mon Mar 29 12:57:55 PST 2004
>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 at 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.
More information about the freebsd-openoffice
mailing list