alacritty: ISO-8859-1 encoded characters not showing up in the output
System
OS: Linux Version: 0.4.1 Arch Linux, KDE + i3
Behaviour in Konsole with encoding set to UTF-8
$ php -a
Interactive shell
php > echo chr(196);
�
Performing the above PHP command with encoding set to ISO-8859-1 yields the following:
php > echo chr(196);
Ä
Behaviour in alacritty
php > echo chr(196);
php >
I was troubleshooting an encoding error and found out that I was mislead by alacritty swallowing some characters that Konsole doesn’t hide.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (11 by maintainers)
After some discussion on IRC we decided to close this issue, since it’s not something desired and users should use UTF-8 encoding for most things this days. Some terminals doesn’t even accept en_US.ISO-8859-1 as locale and just crash, etc.
Could you elaborate on how to repro this issue with php? Like I don’t really get what should I do to get
alacritty
behavior here(I don’t know any PHP at all, so you should give me detailed instructions).For me output looked like that in
alacritty
I’ve also tried python and the output was the following