When a UTF-8-encoded hyphen (U+2010) is copied from a browser (I tried Firefox and IE) and then pasted to programs such as Putty and Vim (the Windows variants), all hyphens are showed as 'unknown glyphs'. Pasting to Notepad works flawlessly. Copying/pasting in Debian/wheezy of the very same HTML text (copying from iceweasel, pasting to vim) also works as expected.

But the utf-8 character is not crippled. Saving to disk resp. copying and pasting of the crippled text works as designed.

The real problem that I have to solve is with Confluence and its export function to a docx file. HTML is displayed OK, docx shows the unsigned glyphs, copying from docx to Notepad shows the hyphens in the pasted text.

What could I do to solve this?


I investigated further and found an explanation: Hyphen U+2010 is NOT contained in the most fonts, especially not in the fixed fonts which are usually needed in programs like Vim and PuTTY.

Thus, the solution of my Confluence problem is: when converting content of the Confluence wiki to a MS Word file format, choose 'Arial Unicode MS Standard' as the default font.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.