Page 1 of 1

Unicode characters not rendering

Posted: Thu Jul 09, 2015 4:11 pm
by jukkae
Hello,

I'm trying to edit a PEF[1] (XML 1.0, utf-8 encoding specified) file containing Unicode Braille characters from the block U+2800..U+28FF. In text mode all the other characters are displayed correctly, but Unicode Braille characters are rendered as squares.

I tried searching the forum but I didn't find anything exactly similar to my situation.

At first I thought it's a font issue. However, for example both Courier New and DejaVu Sans Mono render Braille correctly in NotePad++, but neither works in Oxygen.

Copying and pasting characters works. For example, ⠝ (U+281D, Braille n) can be pasted into Oxygen, copied from there and pasted again back to NP++, where it's again displayed correctly.

I am running Oxygen 15.1 on Windows 7.

I'd be very grateful for any help with this.

Jukka Eerikäinen
Celia - Finnish National Library for the Visually Impaired

[1] http://pef-format.org/

Re: Unicode characters not rendering

Posted: Thu Jul 09, 2015 4:56 pm
by adrian
Hello,

If the characters are rendered as squares, it is a font issue. It means that the currently configured font does not support the characters in question.

From what I searched and also tested, "Segoe UI Symbol" is one font that supports the Braille script in Windows 7. "Courier New" and "DejaVu Sans Mono" did not work for me. Notepad++ is most likely "cheating" and using a fallback font (most likely the same "Segoe UI Symbol") for these characters.
You can check in the Windows "Character Map" tool the range of supported characters for each font. You can do the same in Oxygen's own Insert from Character Map (Edit menu) tool.

For the Text mode from Oxygen you can set the font in Options > Preferences, Fonts, Editor.

Regards,
Adrian

Re: Unicode characters not rendering

Posted: Thu Jul 09, 2015 5:16 pm
by jukkae
Hi, thanks. You're right; Segoe UI works. Thank you very much!