Issue 119363 - Extra space after no-break space when exporting to RTF
Summary: Extra space after no-break space when exporting to RTF
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 08:26 UTC by esperantisto
Modified: 2013-10-19 14:07 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
source text file containing no-break spaces (8.54 KB, application/vnd.oasis.opendocument.text)
2012-05-16 08:26 UTC, esperantisto
no flags Details
File exported to RTF, extra spaces (2.07 KB, application/rtf)
2012-05-16 08:26 UTC, esperantisto
no flags Details
File exported to Word DOC, no extra spaces (for comparison) (9.00 KB, application/msword)
2012-05-16 08:27 UTC, esperantisto
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description esperantisto 2012-05-16 08:26:19 UTC
Created attachment 77550 [details]
source text file containing no-break spaces

When I export a text document to RTF, an extra space is inserted after each no-break space contained in the document. The issue does not appear when exporting to Microsoft Word DOC. The issue reproduces with any text document with any text language (the attached testcase contains text in English (US) and Russian).
Comment 1 esperantisto 2012-05-16 08:26:59 UTC
Created attachment 77551 [details]
File exported to RTF, extra spaces
Comment 2 esperantisto 2012-05-16 08:27:53 UTC
Created attachment 77552 [details]
File exported to Word DOC, no extra spaces (for comparison)
Comment 3 esperantisto 2012-05-16 08:29:32 UTC
Sorry, forgot to add: the issue is found in AOO 3.4/Windows 7/openSUSE Linux 11.4
Comment 4 louqle 2012-05-25 05:18:37 UTC
reproduced on Windows 7 64-bit against AOO 3.4

I created a new file containing the non-breaking space then save as .rtf directly, close and reopen, an extra space added

steps:
1. new a SW
2. enter some text
3. press Alt+255(on numeric keypad) to enter the non-breaking space between the text
4. Click Save, select .rtf from the format list
5. close
6. reopen

I can see an extra space is added right after the non-breaking space.
Comment 5 papayes 2013-10-19 14:07:03 UTC
Hello,
AOO 4.0.1, WIN and Mac also...
Procedure:
Insert a nobreak space Maj+Ctrl+space
Save as .rtf
AOO 4.0.1 adds a space after.
Not reproduced in LibO 4.0.5 

@+