Solve the problem of Chinese square display in Flash & Chinese garbled characters in gedit

Source: Internet
Author: User

------- Flash font ------------

Today, I used flash in liunx to view the online training course of Altera. The text in the result is displayed as a box. I found the solution for Baidu to solve the problem of Chinese garbled characters in flash:
Terminal command: sudo gedit/etc/fonts/CONF. d/49-sansserif.conf
Replace the last 4th rows with: <string> wenquanyi zhenghei </string>

 

------- Chinese garbled gedit ------------

The windows. txt file opened in ubuntu.com is garbled. The following is a search result on the Internet. Note:Select system tools (* on the left) -- configuration editor. Otherwise, the configuration editor is empty.System ToolsNot checked,It took me half a day to get it out ). In addition, if you use the command: gonf-editorThe configuration editor is empty.

Gedit Chinese display settings
right-click the applications menu and choose edit menu. in the main menu dialog box, select System Tools -- configuration editor and enable it from the applications menu.

enable/apps/gedit-2/preferences/encodings/double-click auto_detected on the right side, click Add in the pop-up dialog box, add values value to gb2312, click "OK" and click "up" to move it to the first place.

Similarly, set show_in_menu and set gb2312 to the first place.

supplement: storage documentation for Windows partitions

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.