FIX: Notepad open no garbled and use UE to open garbled phenomenon

Source: Internet
Author: User

original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source, otherwise hold the copyright legal responsibility.

Deep Blue Blog: http://blog.csdn.net/huangyanlong/article/details/44157925

FIX: Notepad open no garbled and use UE to open garbled phenomenon

Today in Win7 under the view of a system log file, there is a strange phenomenon, notepad open no garbled and use UE open garbled phenomenon, later found that this is the problem of coding.

Garbled phenomena, such as:

Open with Notepad is normal, such as:

But with Notepad open for easy viewing and editing, there are two ways to find out.

Workaround: Open With Notepad, add:encoding= "Utf-8"in the first line, and then save. When the UE is turned on, the encoding is normal.

Such as:

Summary: The cause of the problem, in the online view, the original is the national standard library of Chinese characters are treated as UTF-8 encoding.

original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the source, otherwise hold the copyright legal responsibility.

Deep Blue Blog: http://blog.csdn.net/huangyanlong/article/details/44157925

FIX: Notepad open no garbled and use UE to open garbled phenomenon

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.