https://bugs.freedesktop.org/show_bug.cgi?id=61901
Priority: medium
Bug ID: 61901
Assignee: [email protected]
Summary: FILESAVE: Problem with RTF saving
Severity: normal
Classification: Unclassified
OS: Windows (All)
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 4.0.0.3 release
Component: Writer
Product: LibreOffice
Problem description:
If you open an RTF file with Writer and save it without modifying, it is no
longer compatible with some RTF readers.
Steps to reproduce:
1. Create an RTF file like this
{\rtf1\ansi\deff11
{\fonttbl
{\f11\fmodern\fcharset0 Courier New;}
{\f34\fmodern\fcharset204 Courier New Cyr;}
}
{\f11 [ita,rus\par}
{\f11 POTENZA\par}
{\f34
\'c8\'c7\'cc\'c5\'cd\'c5\'cd\'cd\'ce\'c5\'20\'c7\'cd\'c0\'d7\'c5\'cd\'c8\'c5\par}
}
2. Open it with Writer and, without modifying it, save it with another name.
3. If you open the RTF file with a text editor you'll see that all fonts
charsets are wrong. Also the hexadecimal coding of the cyrillic phrase is wrong
(whereas the unicode is right). It seems that the first digit is always 1 while
the second digit is correct.
Current behavior:
The resulting RTF is no longer compatible with other programs that read RTF.
Expected behavior:
The resulting RTF should continue to have the right charset for all fonts and
the right hex coding for all phrases.
Thanks.
Luca
Operating System: Windows 7
Version: 4.0.0.3 release
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs