I have a file named foobarë. When I try to 7zip it on Debian (stable) via Putty, I get the following:
server:/tmp# 7za a test.7zip foobarë
7-Zip (A) 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)
Scanning
foobarë: WARNING: No more files
Creating archive test.7zip
WARNINGS for files:
foobarë : No more files
----------------
WARNING: Cannot find 1 file
Somewhere along the way the foobarë is converted to foobarë. How can I fix this?
My locale on Debian (at least, the content of /etc/locale.gen and locale -a) is en_US.UTF-8 UTF-8.