Open LexouDuck opened 3 years ago
I was having this same problem in most applications, but in some, the C0 control characters can be composed with the "allow unicode input" method:
U+0000
are composable
U+0020
NOTE To actually see the C0 characters, you need a font that supports them, for example, Unifont. Also, you have to set these programs to "show invisible characters".
- Notepad++ from the menu bar:
View
>Show Symbol
>Show All Characters
- Babelpad from the top toolbar: make sure the
u¨
(Glyph mode) option is selected (not theü
or TextMode)
Also, copying from these programs then pasting into other editors (such as VS Code or MS Notepad) works, with the caveat of NULL U+0000
always turning into the ordinary SPACE U+0020
.
So in practice for example, though I use normally VS Code, when I want to compose C0 control characters, I'd fire up Notepad++ (with invisible characters shown for ease of working with them), compose them there, then copy them over to VS Code.
First things first, let me thank you for this great tool you built ! It has been of great use to me.
As a programmer, there are times when I would like to be able to write special non-printable C0 control characters (ie: the characters in the range
[U+0000 , U+0020[
). The "allow unicode input" option seems like the perfect fit for this niche use-case.In fact, this unicode option does work for C1 control characters (ie: in the range
[U+0080, U+00A0[
), which are also non-printable characters. I am able to type the following sequence:Compose
u
8
6
enter
, and it does indeed output an SSA/"start of selected area" character (https://unicode-table.com/en/#0086).But, the same does not work for the C0 characters: if I type out
Compose
u
1
b
enter
, i would expect to get an "escape" character (https://unicode-table.com/en/#001B), but nothing is output.I thought "Maybe this was purposefully done, perhaps to avoid OS-level bugs - I should try and make custom sequences for this myself, then" Unfortunately, these custom compose sequences do not work either (apart from the C0 printable whitespace characters, ie: space, newline, etc - all the characters in the range
[U+0009, U+000D]
). Here is the .XCompose code I wrote, for reference:Thanks in advance for your help.