Bug 107469 - Export to MediaWiki struggles with "fancy" quotes and other characters
Summary: Export to MediaWiki struggles with "fancy" quotes and other characters
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.3.2.2 release
Hardware: x86-64 (AMD64) All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: MediaWiki
  Show dependency treegraph
 
Reported: 2017-04-27 02:44 UTC by Dejan Nakarada-Kordic
Modified: 2023-09-22 17:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Special characters example (25.50 KB, application/msword)
2017-05-01 01:57 UTC, Dejan Nakarada-Kordic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Nakarada-Kordic 2017-04-27 02:44:52 UTC
Description:
Word replaces stabndard ascii characters with "fancy" ones. 

If I export Word document contining these characters to MediaWiki format fancy hyphens, quotes and apostrophes are converted into wrong characters. 

Hyphen – 
“double quoteâ€
‘single quote’
apostophe’s 


Steps to Reproduce:
1. Create a Word document containing hyphens and quotes. Make sure Word converts them to "fancy" ones 
2. Export to MediaWiki format
3. Open the text files

Actual Results:  
–, ’

Expected Results:
-, "


Reproducible: Always

User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes
Builds ID: LibreOffice 5.3.2.2


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Comment 1 Buovjaga 2017-04-29 17:29:45 UTC
Please attach such a Word document (not everyone has Microsoft Word for testing).

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 Dejan Nakarada-Kordic 2017-05-01 01:57:21 UTC
Created attachment 132982 [details]
Special characters example

Document contains special characters that are incorrectly converted into MediaWiki format.
Comment 3 Dejan Nakarada-Kordic 2017-05-01 01:58:28 UTC
I've supplied an example Word document as requested
Comment 4 Buovjaga 2017-05-01 08:53:53 UTC
Ok, I see what you mean. Let's set to NEW.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.2.2
Build ID: 5.3.2-1
CPU Threads: 8; OS Version: Linux 4.10; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 5 QA Administrators 2018-06-13 02:36:05 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2020-06-13 03:42:48 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2022-09-03 03:38:48 UTC Comment hidden (obsolete)
Comment 8 Dennis Roczek 2023-09-22 17:59:19 UTC
this was corrected at some time, I guess by Julien

Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:7.6.1~rc2-0ubuntu0.22.04.1~lo2
Calc: threaded