How to solve the Chinese Garbled text problem of mldonkey in Ubuntu8.04

Source: Internet
Author: User
My operating system is Ubuntu8.04. I have installed mldonkey2.9.2 with 1 MB Internet access. The problem is that each time a file with Chinese characters is downloaded, the file can be correctly read. After the download is complete, all Chinese file names become underlined. Because I chose to enable mldonkey automatically when installing mldonkey, mldonkey runs by default using the user name of mldonkey. Therefore, it is suspected that the problem is caused by the user environment configuration. When I installed the mldonkey

My operating system is Ubuntu 8.04, and the Internet access method is 1 mb adsl, and mldonkey2.9.2 is installed.

The problem is that each time a file with Chinese characters is downloaded, the file can be correctly read. After the download is complete, all Chinese file names become underlined. Because I chose to enable mldonkey automatically when installing mldonkey, mldonkey runs by default using the user name of mldonkey. Therefore, it is suspected that the problem is caused by the user environment configuration. Previously, when I installed mldonkey, I usually ran it manually. This problem does not occur in the downloaded files.

I searched for a solution on the Internet. Someone used java and python programming to convert garbled characters back to Chinese. I tried the python program and failed, java is not in the mood to try. In addition, this method is temporary and temporary, which is post-event compensation and cannot be prevented beforehand. Some people say they need to download the patch file and mldonkey source code, and then re-compile it. I think it is too complicated and time-consuming to update the version automatically.

My method is:
Sudo gedit/etc/init. d/mldonkey-server

Add
Export LANG = zh_CN.UTF-8

Problem Solving

Simple settings for attaching several mldonkeys:
Enable_kademlia: true -- enabling kad can reduce the dependency on the server and add more download sources.
The enable_overnet option is true. For the reason, refer to the previous one.

The default value for the ED2K-max_connected_servers is 3, and I changed it to 10-although not necessarily connecting to 10 servers at the same time

Max_hard_upload_rate: 10 by default
Max_hard_download_rate: 50 by default
Max_hard_upload_rate_2 is 5 by default. I changed it to 20.
Max_hard_download_rate_2 is 20 by default. I changed to 150.

The above four settings are the two default Bandwidth control modes of mldonkey (note that you need to press enter to change the default value). You can click Bandwidth toggle to change the Bandwidth control mode.

Servers "/home/username/server. met" -- import server list
Ov_load "/home/username/contact. dat" -- import the overnet startup user list
Kad_load "/home/username/nodes. dat" -- import the kad startup user list

The server. met, contact. dat, and nodes. dat files can be searched and downloaded by emule in windows or by searching and downloading them online.

Enter the corresponding command in the input text box and press Enter. If you want to exit mldonkey and enter kill, you can (especially for those who enable mldonkey when I start the system)

In the last sentence, I used firefox to access http: // localhost: 4080/to view and control the mldonkey.

The strength of mldonkey is that when you press Ctrl + Alt + backspace to restart the desktop, it is found that mldonkey is not affected at all (even if it is not set to enable automatic startup ).

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.