Package: psmisc
Version: 21.5-1
Severity: normal

I have a file with an "ü" in it, encoded as UTF-8:

   -rw-------  1 root root  862511104 Jun  8 20:50 'Der Wüstenplanet 
[2004-10-20].ogm'

   0000030: 2744 6572 2057 c3bc 7374 656e 706c 616e  'Der W..stenplan

fuser displays it as:

   Der\040W\37777777703\37777777674stenplanet\040[2004-10-20].ogm:  6620

I can understand why it does quote the spaces, but I don't understand why
it quotes the "ü" which is a non-space character. It seems to quote it as
"\37777777703\37777777674" which is probably the two bytes, expanded to
signed 32 bit and printed as octal (just a wild guess).

This makes it impossible to correctly parse the filename
programmaticallly, which is what I am trying to do.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc2
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages psmisc depends on:
hi  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to