Summary: | Unicode Chars with 5-hex-digit Codes are Filtered Away in Pasting (Paste Special Option Doesn't Work; Works in WordPad) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | jburrill |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | fdbugs, fitojb, philipz85 |
Version: | 4.2.5.2 release | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
jburrill
2014-07-09 22:58:58 UTC
I tested this issue under Linux (the operating system I use). So I copied the test lines from this bug report, and the pasting mechanism threw away the special characters (except ♭ and ♯). But then I tried pasting the test lines by using the “Text Without Formatting” option (from the Paste Special dialog, Ctrl+Shift+V) and all of the special characters were pasted correctly. Please let me know if using Paste Special > Text Without Formatting works for you under Windows. I’m adjusting this bug’s title a bit. (In reply to comment #1) > I tested this issue under Linux (the operating system I use). > > So I copied the test lines from this bug report, and the pasting mechanism > threw away the special characters (except ♭ and ♯). But then I tried pasting > the test lines by using the “Text Without Formatting” option (from the Paste > Special dialog, Ctrl+Shift+V) and all of the special characters were pasted > correctly. > > Please let me know if using Paste Special > Text Without Formatting works > for you under Windows. I’m adjusting this bug’s title a bit. Adolfo, Regular paste gave the same 2 characters you mentioned appeared on linux, but paste special only gives 'HTML format' and 'HTML format without comments'. Selecting without comments had the first entry as a blank box sometimes and sometimes as the b, the second entry showed correctly always, while the remaining 4 showed as questions marks. This was on 4.2.4 and 4.3.0 on Windows 7. Changing title again since Paste Special does not work. Depending on the font, it can look as though the characters were dropped in the paste when they weren't. It's just that they aren't displayed. This might even be correct behavior, depending on the font, so it's important to mention the font you're attempting to have the characters rendered in. WordPad correctly renders all four of the 5-hex-digit Unicode characters (lines 3 - 6) in Symbola font. It also correctly renders lines 3 and 4 in FreeSerif -- and lines 5 and 6 in Segoe UI Symbol. Both LibreOffice Writer and OpenOffice Writer should be able to do as well. And they should be exportable to PDF. Since submitting this, I've discovered that KingSoft Writer does render these characters correctly, but they are lost when KingSoft tries to export them to PDF. (But KingSoft also has some other bugs related to Unicode characters that LibreOffice/OpenOffice doesn't have). The symbols do appear after application restart and reloading the document. Reproduced on OSX / LO 4.3.2.2 and 4.4 master: "Paste Special" as "Unformatted text" does the right thing, and all characters are displayed. Regular paste and paste as HTML appear to replace all the characters outside the Unicode basic multilingual plane (i.e. >0xFFFF) with "?" (a literal question mark, not a placeholder for a non-rendered character). Given that, whatever the font is then changed to makes no difference. -> Platform: All -> NEW |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.