retext-project / retext

ReText: Simple but powerful editor for Markdown and reStructuredText
GNU General Public License v2.0
1.86k stars 198 forks source link

ReText does not display emojis and other graphical unicode characters #578

Open gabriel-libardi opened 2 years ago

gabriel-libardi commented 2 years ago

This is the sample of unicode characters that I used:

This is how ReText displays it on the editing tab:

This is how it displays it on preview mode:

mitya57 commented 2 years ago

Hi! I think it's an issue not with ReText, but with the fonts you use and with the library versions.

For me, with Qt 5.15.2 and with default settings, it looks like this: Screenshot

Yes, most of them are black and white, and there is a problem with composite emoji, but it's better than what is on your screenshot.

So please try the following:

raphaelquast commented 11 months ago

I came here for the same problem and tried all suggestions but nothing worked... Then I realized that there's also File -> Set Encoding... and once I entered utf-8 , all fonts worked as expected! 🥳

(you can also add this permanently to the settings-file via: defaultCodec=utf-8)