How to send certain ascii characters

I want to send certain ASCII characters to an application. Actualy a sequence of ~ .
The proble is that if I enter ~ it shows as "shift ^" and then prints out "+" because on the US layout the + is there. Switching on the "Adopt to current keyboard layout" doesn't work and sends nothing at all.
I cannot even enter that in US layout becuse the key where the ~ should be is not present on the keyboard layout I use.

So is there a way to send plain ASCII characters and not keyboard shortcuts?