Page MenuHome

Text object - Unreliable text_insert hotkey for utf8 characters
Open, Needs Triage by DeveloperPublic


System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.15

Blender Version
Broken: version: 2.82 (sub 1), branch: master, commit date: 2019-11-14 09:44, hash: rB8ff9eb97fb7c
Worked: (optional)

Short description of error
[Please fill out a short description of the error here]

It's about this functionality here:

I break my fingers with the suggested key combination of holding four keys simultaneously across the whole keyboard. I can usually get 1 out of 10 tries to show a utf8 character with the in the manual described hotkeys. Yes, i know the required order of the key presses. Key, then alt+backspace, then the special key. But this is not to manage. Usually i fill the whole text with the letter first.

This all when this hotkey even works. Lots of the in the manual described characters does not work here, no matter what i try. I smell a keyboard layout problem here. I use a german keyboard layout.

But the problem seems to be even deeper. Curious as i am, i tried to modify the menu to create special characters in the Edit menu in edit mode. And lots of characters like C, L , N , S etc. with accute does not work with their corresponding utf8 number. The character does simply not show up. So this seems to be more than one bug.

Note that i am not asking for help with modifying the menu or programming here. It is just the proof that your utf8 implementation is troubled somewhere, and that the problem may not only be a keyboard layout problem.

List of UTF8 characters, with utf8 and ascii numbers

As a side note, when the key combinations in the manual are just examples, how is the user meant to find out the rest of the possible combinations?

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Add Text object. Go to Edit Mode. Go through the in the manual mentioned possible combinations. Count how often you really manage to get it to work the first time. If even at all.

Open Go to line 4220. Change the utf8 character to C with acute and u0106. Test it. There is no error, but the character is not created. Curious enough, the python tooltip shows the correct sign.



Event Timeline

It would be nice to describe a bug in few lines.
Blender's builtin font doesn't have this character.

Sorry for the longer description. I am also a fan of short and pregnant. But this issue was simply not to describe in one line.

I can't tell if this is a bug.
The code seems to work as intended (ignoring non ascii characters in the builtin font).
I recommend you use another font.