How can I insert a character code into a Linux text editor?

Solution 1:

I've found a solution which works in gedit and in the text input boxes of many other GTK-based applications. I press Ctrl+Shift+U, type the character code in hex, then I press Enter, and the character appears.