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:   ports/64908: Wrong russian encoding after saving new file in RTF format by OpenOffice
Message-ID:  <E1B83qc-000GXk-LO@bsam.ru>
Resent-Message-ID: <200403292100.i2TL0Rjs001289@freefall.freebsd.org>

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

>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@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:



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