aMule Forum

English => aMule Help => Topic started by: akkdx on June 24, 2010, 06:32:58 PM

Title: UTF-8 links do not displayed correctly
Post by: akkdx on June 24, 2010, 06:32:58 PM
I have been using TomatoUSB + optware amule in my router without problem.

Now, I set up a small x86 PC using Debian Squeeze. I use the same client PC (WinXp) with amulecmd to add download links remotely. When added to the router, Chinese filenames displayed correctly in AmuleGUI, but when added to the x86 PC, the filenames are displayed something like [飞屋环游记].

Moreover :
1. If I "copy link location" in FireFox and paste into the eD2k link text box of the AmuleGUI, the filename is not  displayed correctly.
2. If I "Serarches", then select  "Download" from the searched result, the filename is correct !

What setting I have missed in the x86 PC ?
Title: Re: UTF-8 links do not displayed correctly
Post by: GonoszTopi on June 27, 2010, 08:14:17 AM
Which aMule version are you using?
Title: Re: UTF-8 links do not displayed correctly
Post by: akkdx on June 27, 2010, 05:03:05 PM
Debian Squeeze : amule-daemon (2.2.6+debian0-8)

http://packages.debian.org/squeeze/amule-daemon
Title: Re: UTF-8 links do not displayed correctly
Post by: akkdx on June 30, 2010, 11:23:25 AM
Very strange !

I put the link directly into .aMule/ED2Klink by a PHP script, the file name are displayed correctly.


<?php
    define(ED2K_FILE, '/mnt/usb/transmission/.aMule/ED2KLinks');
   
    $link = $_POST['link'];
    if ($link != null){
   //$link = urldecode($link);      // some web page said it is needed, no need as I tested
   for($i=1;$i<30;$i++){
      if (!file_exists(ED2K_FILE)){
         break;
      }
      usleep(500000);   // sleep 0.5s
   }
   $fh = fopen(ED2K_FILE, 'a') or die("can't open file");
   fwrite($fh, $link .'\n');
   fclose($fh);
    }
    echo '1';
?>
Title: Re: UTF-8 links do not displayed correctly
Post by: GonoszTopi on July 02, 2010, 02:09:42 AM
Could you please send me the offending link in PM? Also, does the same link work on your router but not on the PC?
Title: Re: UTF-8 links do not displayed correctly
Post by: akkdx on July 06, 2010, 09:30:57 AM
For example, this link :

Link removed. Please don't post aMule links in the forums (http://forum.amule.org/index.php?topic=8020.0).

works on my router (optware), but not the small x86 (Debian Squeeze).
Title: Re: UTF-8 links do not displayed correctly
Post by: GonoszTopi on July 06, 2010, 12:44:35 PM
Please send me the link in PM (=Personal Message) or in e-mail.