Solve the garbled problem in Ubuntu12.04

Source: Internet
Author: User
Solve the garbled problem in Ubuntu12.04: 1. garbled problem about gedit3: To solve this problem, open your terminal and enter the following two Commands: gsettingssetorg. gnome. gedit. preferences. encodingsauto-detected "['gb18030', 'gb2312', 'gbk', 'utf-8', 'big5', 'current', 'utf-16

Solve the garbled problem in Ubuntu 12.04:

1. garbled gedit3:

Solution

Open your terminal and enter the following two commands:

Gsettings set org. gnome. gedit. preferences. encodings auto-detected "['gb18030', 'gb2312', 'gbk', 'utf-8', 'big5', 'current', 'utf-16']"

Gsettings set org. gnome. gedit. preferences. encodings shown-in-menu "['gb18030', 'gb2312', 'gbk', 'utf-8', 'big5', 'current ', 'utf-16']"

2. About Phythmbox garbled characters:

The simple method is to convert the MP3 tag to Unicode encoding. To use python-mutagen, run the following command for installation:

Sudo apt-get install python-mutagen

Usage:

Enter the directory where the music file is located in the terminal (the cd command is needless to say) and execute:

Mid3iconv-e gbk *. mp3

If there are subdirectories, run:

Find.-iname "*. mp3"-execdir mid3iconv-e gbk {}\;

Or "mid3iconv-e GBK */*. mp3"

Note: 1. The-e gbk parameter indicates converting the GBK encoding label to Unicode encoding, which itself is a Unicode encoding without conversion. If you need to convert other encoding files, you can modify them by yourself, for example, to Big5.

2. The vast majority of mp3 tags can be found are encoded in GBK/GB18030 format. It is enough to use-e gbk for processing. Of course, you can also use-e gb18030 for processing.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.