ports/64908: Wrong russian encoding after saving new file in RTF format by OpenOffice

Boris B.Samorodov bsam at ipt.ru
Mon Mar 29 21:00:27 UTC 2004


>Number:         64908
>Category:       ports
>Synopsis:       Wrong russian encoding after saving new file in RTF format by OpenOffice
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 29 13:00:26 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Boris B. Samorodov
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
InPharmTech
>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.


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list