
"Invalid or incomplete multibyte or wide character" Issue
Hello,
I'm having problems copying filenames with non-standard characters onto an NTFS partition. I've searched these forums and read FAQs but unfortunately I still receive this error:
$ cp /mnt/nfs/Price£10.txt /data/
cp: cannot stat `/data/Price\24310.txt': Invalid or incomplete multibyte or wide character
My setup is as follows:
Ubuntu 8.10 Desktop - 2.6.27-11-generic - x64
/mnt/nfs - this is a mountpoint to another Linux box using NFS. To mount, I simply used:
Code:
sudo mount 192.168.x.x:/files /mnt/nfs/
/data - this is a separate hard drive in my Linux box that is formatted with NTFS. This is mounted during boot and is configured in /etc/fstab as the following:
Code:
/dev/sdb1 /data ntfs-3g defaults 0 0
I haven't used the locale option because I'm using ntfs-3g 2009.1.1 as this now has "Built-in, transparent UTF-8 conversion support".
Code:
$ sudo ntfs-3g --help
ntfs-3g 2009.1.1 integrated FUSE 27 - Third Generation NTFS Driver
Interestingly, when I map to the /data mountpoint as a share from Vista, I can copy this file into the ntfs volume without any errors, yet doing an ls of this file shows the following:
Code:
$ ls -al
-rwxrwxrwx 1 root root 0 2009-01-30 11:33 Price£10.txt
Another filename called "Siúil-A-Rún.txt" appears as the following if copied using a Vista share:
Code:
-rwxrwxrwx 1 root root 5280 2005-11-16 20:32 Siúil-A-Rún.txt
My Ubuntu locale settings are:
Code:
$ sudo locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
Any help you can offer would be great.
Many thanks,
Paul.