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