aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule, Temp/Incoming on NTFS mounted by ntfs-3g and special characters  (Read 2095 times)

mr_hyde

  • Global Moderator
  • Full Member
  • *****
  • Karma: 12
  • Offline Offline
  • Posts: 105

Hi all and Happy New Year!

I use the same partitions of an external firewire hard disk from eMule-Windows and aMule-Linux, so these partitions are NTFS.

Under Linux I use ntfs-3g to mount them with the following entry (well, similar entry) in /etc/fstab

Code: [Select]
/dev/sda1   /mnt/NTFS ntfs-3g defaults,umask=0,noauto,silent,no_def_opts,allow_other  0   0

My SLAMD64 is configured to use en_US.utf8 as system language:
Code: [Select]

mr_hyde@krypto:~$ locale -a | grep en_US
en_US
en_US.utf8

mr_hyde@krypto:~$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE=C
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=


With this settings I have problems about shared files with special characters (like è à ò ì ù often used in italian language). When I start amule, in log file, I can read:

Code: [Select]
2008-01-01 11:40:26: Logger.cpp  Error: Failed to retrieve file times for '/mnt/NTFS/<FILE_WITH_SPEC_CHARS>' (error 84: Invalid or incomplete multibyte or wide character)
2008-01-01 11:40:26: FileFunctions.cpp: FileIO: Error on GetLastModificationTime from `/mnt/NTFS/<FILE_WITH_SPEC_CHARS>'
2008-01-01 11:40:26: CFile.cpp: CFile: Error when opening file (/mnt/NTFS/<FILE_WITH_SPEC_CHARS>: Invalid or incomplete multibyte or wide character

I tried also to "force" en_US.utf8 in /etc/fstab (as described in http://www.ntfs-3g.org/support.html#locale) but with same results.

Any idea about this little annoying problem?

Thanks in advance for any suggestions!

Bye,
  Mr Hyde
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule, Temp/Incoming on NTFS mounted by ntfs-3g and special characters
« Reply #1 on: January 01, 2008, 01:04:04 PM »

Hi,

this is a problem not caused by ntfs, but by aMule. phoenix will probably change the behaviour so that it'll work on UTF-8 soon.
Logged

mr_hyde

  • Global Moderator
  • Full Member
  • *****
  • Karma: 12
  • Offline Offline
  • Posts: 105
Re: aMule, Temp/Incoming on NTFS mounted by ntfs-3g and special characters
« Reply #2 on: January 01, 2008, 01:45:25 PM »

Ok, thanks! I'll stay tuned on the same bat-channel waiting for news ;D

Bye,
  Mr Hyde
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule, Temp/Incoming on NTFS mounted by ntfs-3g and special characters
« Reply #3 on: January 02, 2008, 05:30:27 PM »

Hi mr_hyde!

Please read the following link, and add your considerations, they will sure be most valuable:

http://forum.amule.org/index.php?topic=14037

Cheers!
Logged