Jump to content

Copied narrow non-breaking space around formatting

Recommended Posts

There is a little text corruption issue that pops up when copying text from Publisher and pasting into another program when there is a narrow non-breaking space at the boundary of formatting. This is a little hard to explain, but my demo file and demo screencast will hopefully make it clear.

In the file, I have two brief lines of text that seem visually identical, but there is a very minor difference: in the top specimen only the words between the guillemets are italicized, while the bottom specimen has the words and the narrow non-breaking spaces in italics.

Try this: open the file, copy all the text (not the text box), and paste into another application like TextEdit. Result: the second specimen has an extra space after the first guillemet.

If I had to guess, I suspect that this is an issue when a multibyte character comes against the boundary of a formatting change. If so, other multibyte characters may have some unpredictable behaviors as well.

Here is a video demonstration of the issue in case the written explanation is unclear.

narrow non-breaking space with formatting.afpub

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.