When writing a command with pipe character for output/input redirect I get the broken-vertical-line (or broken-verical-pipe) character instead of the solid-vertical-line character (the typical pipe). The shell doesn't interpret the typed character properly, hence getting errors from my commands.
I have a standard EN/US Keyboard on my laptop, without numkeys. The environment is WSL2 (Windows Subsystem for Linux) and it happens no matter the shell (I tried Fish and Bash).
I've tried to:
- reconfigure the keyboard via
dpkg-reconfigure keyboard-configuration
where I was switching between 101/102/104/105-key keyboards setxkbmap -layout us
which resulted in Cannot open display "default display" msg
EDIT (adding extra info):
- Windows 10, version 20H2 (Build 19042.1348).
- Within WSL2 I use Ubuntu 20.04 LTS.
- I use the default terminal (not sure how to switch terminals in WSL).
- Font used is a Nerd Font (Sauce Code Pro NF), but changing the font back to the default ones doesn't make a difference.
- Current CodePage 65001 UTF-8