Package: bsdutils
Version: 1:2.28-5
Severity: normal

Dear Maintainer, wall and write are not able to handle UTF-8 characters:

Sending:
        $ echo 'test тест' | write user
        $ echo 'test тест' | wall

Receiving:
        Message from user@hostname on pts/6 at 21:37 ...
        test M-QM-^BM-PM-5M-QM-^AM-QM-^B
        EOF
        
        Broadcast message from user@hostname (pts/6) (Mon Jun  6 21:37:21 
2016):   
                                                                                
       
        test \321\202\320\265\321\201\321\202    


It seems that upstream BSD utilities have support for multibyte characters:
https://svnweb.freebsd.org/base/head/usr.bin/wall/wall.c?revision=241848&view=markup#l226
Thanks Guido Berhoerster, xwrited developer, for providing this info.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bsdutils depends on:
ii  libc6        2.22-9
ii  libsystemd0  230-2

Versions of packages bsdutils recommends:
ii  bsdmainutils  9.0.10

bsdutils suggests no packages.

-- no debconf information

Reply via email to