How to type { and } if you have a multilingual keyboard

Hello everyone, I am having an issue in Assembly where I try to type { and } using ascii. The Alt-car combination to type those characters will not work either. Is there any way to change that because changing keyboart layout will be tedious, just as copy-pasting will.

Any idea?

Thank you.

First of all, Assembly? If I’m not mistaken, you’re talking about the programming language, and if that’s the case, you shouldn’t ask it here (Correct me if I’m wrong)
It really depends on the keyboard type you’re using. Mine is one with special characters and I can use Alt Gr + B/N to write the brackets, but I’ve seen keyboards where you have to type Alt Gr + 7/8. You should look at it, and find them on your keyboard. On the Canadian I believe it’s Alt Gr + 7/8, on the finnish it’s 7/0 and on the french it’s 4/+ (French are weird). If you can tell me the type, I could help, but this way it’s hard.

If you have a very non-standard keyboard that doesn’t have a built-in shortcut for {}, you can use something like AutoHotkey (free) to create temporary shortcuts.

Buy a new keyboard. You can get USB ones pretty cheap. And in the long run plugging in a keyboard with {} when you code might be more productive then multi key work arounds.

1 Like

Alt 123 or Alt 125 using the numpad isn’t working?

Just gave it a whirl myself. Under Notepad++ it created curly braces but under Visual Studio I got a music symbol.

Hmm strange works for me in both although it is a bit dodgy in some programs if ALT is already used for something else.