Garbled characters in firefox3 and amule2.2.1

Source: Internet
Author: User
Garbled problem of firefox3 and amule2.2.1-general Linux technology-Linux technology and application information. The following is a detailed description. After firefox left-click the ed2k link, all the % xx values in the generated url are changed to % 25xx. As a result, the ed2k program of amule correctly generates the Chinese encoding. Therefore, the download list of amule and the Chinese part of the last generated file are garbled. In addition, the file cannot be converted using convmv because convmv considers them UTF-8 encoded.

Once you know the cause, the problem can be easily solved. The method is as follows:

Write a script with the following content:

#! /Bin/bash
Echo "$1" | sed-e's/% 25 \ ([0-9A-F] [0-9A-F] \) /% \ 1/G' | xargs-n1/usr/bin/ed2k

Then go to firefox3 and set the execution program corresponding to the ed2k protocol in "edit"-"Preferences"-"Applications" to specify the script you just compiled.

Note: you must add executable permissions to your script.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.