Comment 3 for bug 318221

Revision history for this message
Savvas Radevic (medigeek) wrote :

Binary package hint: procps

Ubuntu 8.10 Intrepid Ibex
Using UTF-8 characters, in gnome-terminal I can output it correctly with echo, but watch does not support utf-8.

$ echo "τεστ - тест - copyright (c) or ©"
τεστ - тест - copyright (c) or ©

$ watch -n 2 echo "τεστ - тест - copyright (c) or ©"
sh: Syntax error: "(" unexpected

$ echo "τεστ - тест - copyright (c) or ©" > testmycase
$ watch -n 2 cat testmycase

Every 2.0s: cat moofaro Sat Jan 17 18:10:41 2009

 - - copyright (c) or

$ apt-cache policy gnome-terminal procps
gnome-terminal:
  Installed: 2.24.1.1-0ubuntu1
  Candidate: 2.24.1.1-0ubuntu1
  Version table:
 *** 2.24.1.1-0ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     2.24.1-0ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid/main Packages
procps:
  Installed: 1:3.2.7-9ubuntu2.1
  Candidate: 1:3.2.7-9ubuntu2.1
  Version table:
 *** 1:3.2.7-9ubuntu2.1 0
        500 http://security.ubuntu.com intrepid-security/main Packages
        500 http://de.archive.ubuntu.com intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     1:3.2.7-9ubuntu2 0
        500 http://de.archive.ubuntu.com intrepid/main Packages

Also reported here:
http://www.gp-net.nl/2008/05/22/watch-command-does-not-support-utf-8-characters/