https://bugs.documentfoundation.org/show_bug.cgi?id=151413

            Bug ID: 151413
           Summary: Unable to create a DDE link to a file with special
                    characters in name on Windows
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mikekagan...@hotmail.com

1. Create a Calc document; put "1" into A1.
2. Save the document as "m³ph.ods". Note that "³" is U+00b3 "superscript 3";
possibly one would need different special characters on systems with that
character supported by system encoding.
3. Select A1, Ctrl+C to copy to clipboard.
4. Create a new Writer document.
5. Paste Special -> DDE Link.

The pasted table is empty, while it is expected to contain "1". The External
Links manager shows that source file is "m%3Fph.ods", and its status is "not
available".

If on step 3, the file name is "m3ph.ods", i.e. does not contain characters not
representable in system encoding, then the link is established OK.

Examining the ODT content.xml, the reference is like "D:\Documents\m?ph.ods",
so the character had been converted to "?" (which corresponds to the
percent-encoded data shown by External Links). Replacing it to
"D:\Documents\m³ph.ods" manually in the XML makes the ODT open with correct
data from the link.

Tested with Version: 7.4.2.1 (x64) / LibreOffice Community
Build ID: 681d65acd9ede00dd724d6716f21cabfdcc95bd2
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

Likely Windows-specific (or at least specific to non-Unicode system encoding).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to