On 3/22/07, Patrick Valsecchi <[EMAIL PROTECTED]> wrote:
Package: utf8-migration-tool
Version: 0.5.2
Severity: important
I have directories whose name contains accents. Those directories
contains files whose name have accents as well.
In this case, utf8migrationtool does not rename the directory first, but
tries to rename the whole path directly. I then get errors like:
Cannot rename '/home/patrick/Cass?/M?chant' to
'/home/patrick/Cassé/Méchant': [Errno 2] No such file or directory
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (300, 'experimental')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
The above locale suggests that you were migrating from C or en_US,
which would imply ASCII as the encoding and thus undefined 8th bit
characters. The renaming string example you showed above supports this
assumption, since the accents are replaced with question marks. Given
this, I would not be surprised if that's why it failed.
--
Martin-Éric Racine
http://q-funk.iki.fi