Bug 131603 - FILESAVE RTF: wrong style names with german Umlaute when opening in MS Word
Summary: FILESAVE RTF: wrong style names with german Umlaute when opening in MS Word
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.5.2 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF-Styles
  Show dependency treegraph
 
Reported: 2020-03-26 13:49 UTC by roeding
Modified: 2022-03-31 05:22 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roeding 2020-03-26 13:49:43 UTC
Hello guys,

if you save a docx file which contains style names with e.g. german Umlaute (Ü, Ä, Ö) with libreoffice writer, the stylenames are converted wrong.

A style name called "Überschrift" will be converted to "Üdcberschrift" if you view the RTF in ms word.
In the RTF File you can see the stlye name is \u220\'dcberschrift.

It looks like the hex code of the char is appended too.

https://www.compart.com/de/unicode/U+00DC
Comment 1 Dieter 2020-03-30 20:15:44 UTC
I confirm it with

Version: 6.3.5.2 (x64)
Build-ID: dd0751754f11728f69b42ee2af66670068624673
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

Steps to reproduce

1. Open document in writer that contains custom style with "Umlaute" in its name
2. Save file as rtf-file
3. Open File in MS-Word

Result: Umlaute in style names changed (for example from "Überschrift" zu "Üdcberschrift"
Comment 2 QA Administrators 2022-03-31 03:34:16 UTC Comment hidden (obsolete)
Comment 3 Dieter 2022-03-31 05:22:41 UTC
Seems to be fixed in

Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: zh-CN (de_DE); UI: en-GB
Calc: CL

=> RESOLVED WORKSFORME