Bug 33653 - RTF incorrect save
Summary: RTF incorrect save
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.3.0 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Miklos Vajna
Depends on:
Reported: 2011-01-28 07:30 UTC by jjkra
Modified: 2011-04-17 11:55 UTC (History)
0 users

See Also:
Crash report or crash signature:

write character and save in RTF format, 3 page PDF (215.71 KB, application/pdf)
2011-01-28 07:30 UTC, jjkra
source of problematic characters in odt (8.45 KB, application/vnd.oasis.opendocument.text)
2011-02-10 07:53 UTC, marobaro
Original odt = OK (9.53 KB, application/vnd.oasis.opendocument.text)
2011-02-11 16:15 UTC, jjkra
From original Save-as to RTF = WRONG (2.35 KB, application/rtf)
2011-02-11 16:16 UTC, jjkra

Note You need to log in before you can comment on or make changes to this bug.
Description jjkra 2011-01-28 07:30:08 UTC
Created attachment 42652 [details]
write character and save in RTF format, 3 page PDF

If write interpunction character and save in RTF format, after load is bad interpunciot. character example: šžčťáýľščťžľýšťžščýáť
Comment 1 Cédric Bosdonnat 2011-01-31 01:42:20 UTC
Miklos, could you have a look at this one?
Comment 2 jjkra 2011-02-01 03:19:55 UTC
(In reply to comment #1)
> Miklos, could you have a look at this one?

in attache PDF document, include 3 page:
1. page - type correct character
2. before save correct character
3. open saved RTF documents, and incorrect character
Comment 3 Miklos Vajna 2011-02-06 01:06:17 UTC

Could you please upload an odt file which reproduces the issue?

I guess this has been already fixed with http://cgit.freedesktop.org/libreoffice/writer/commit/?id=a37fae128b4badc8f9f2201e28dca3e08948ddec in master, if I'm right, then we could just backport that fix to -3-3.

Comment 4 marobaro 2011-02-10 07:53:12 UTC
Created attachment 43207 [details]
source of problematic characters in odt

I have same issue. Here is how can you reproduce the problem:

1. open new document and enter this characters Ľščťžýáíéúäňô ĽŠČŤŽÝÁÍÉÄŇÔ or open attached odt file.
2. save as rtf
3. open rtf file - encoding is broken now.

In LibreOffice 3.3.0 (beta release) OOO330m7 (Build: 9526) it was correct.
Comment 5 Miklos Vajna 2011-02-11 08:19:54 UTC
Yep, this looks fine with master but not on -3-3. I'll ask for a review on the dev list.

Comment 6 jjkra 2011-02-11 16:15:38 UTC
Created attachment 43276 [details]
Original odt = OK
Comment 7 jjkra 2011-02-11 16:16:22 UTC
Created attachment 43277 [details]
From original Save-as to RTF = WRONG
Comment 8 Miklos Vajna 2011-02-11 16:46:22 UTC

Thanks, no more action is needed on your part. :)

The fix has been cherry-picked to libreoffice-3-3 already, maybe it'll hit -3-3-1 as well.
Comment 9 Miklos Vajna 2011-04-17 11:55:27 UTC
Fixed by 3.3.2.