OS X Terminal displaying ö when typing |
It probably has something to do with the "Automatically switch to a document's input source" option in System Preferences -> Keyboard -> Input Sources, which allows you to have different output sources for different applications/tabs/documents. Simply uncheck that to only use one keyboard layout for all applications