Package: minicom
Version: 2.7

I can confirm that minicom (still) has problems with utf-8.
I opened minicom in the gnome-terminal.

I implemented a small console program on an ATMega1284p that simply sends the exact same bytes it recieves back. I am using a TTL2USB-UART adaptor. Whenever I try to send any character multibyte character it shows up weiredly. For any n-long character it shows n-1 times the character � followed by the actual character. E. g. I send the character ' 😭' and this shows up: "���😭". However, when I start minicom in hex-mode (using -H) the character '😭' shows up as "f0 9f 98 ad" which is the correct utf-8 value of that character. This and the fact that this setup works perfectly fine with dterm, brings me to the conclusion that minicom has some problem with outputting utf-8
characters.

Further information and things I experimented with can be found here:
http://stackoverflow.com/questions/36551036/utf-8-problems-in-writing-a-uart-console-on-a-microcontroller

-- System Information:
OS: ArchLinux
Architecture: x86_64

Kernel: 4.4.5-1
Locale: LANG=en_GB.UTF-8

Reply via email to