Use UltraEdit, click on "File - Save As", the format chosen as "UTF-8 without BOM" or "UTF-16 without BOM". English content, each operation and so preserved, otherwise they will be saved as ANSI format; Chinese-language content, at the first Save As Thereafter, Ctrl + S can be.

Quoted as saying:

Little experience writes

When everyone in the analytic encounter web pages (including CSS and HTML parsing) in a number of strange problems (such as that caused by the BOM strange blank lines), the not irritable, first of all be sure that your coding is correct; If the problem persists, the code submitted to the W3C Web site HTML validation and CSS validation; Finally, according to validate the results suggest that correct their code. As far as possible to comply with W3C specifications, according to this process, the general problems can be resolved.

Tags:

Related Posts of Remove UTF-8 files BOM method

Use UltraEdit, click on "File - Save As", the format chosen as "UTF-8 without BOM" or "UTF-16 without BOM". English content, each operation and so preserved, otherwise they will be saved as ANSI format; Chinese-language ...

UTF-8 bytes for the encoding unit, there is no byte order issue. UTF-16 code units of two bytes, a UTF-16 in the interpretation of the text, we should first clarify the sequence of bytes per code unit. Such as "Kui," The Unicode encoding is

UTF-8 bytes for the encoding unit, there is no byte order issue. UTF-16 code units of two bytes, a UTF-16 in the interpretation of the text, we should first clarify the sequence of bytes per code unit. Such as "Kui," The Unicode encoding is

Recently in use, kindeditor upload pictures add a watermark, problems, changed the file encoding, hereby records about UTF-8 (no BOM) and UTF-8 What is the difference of these two do? BOM is that? BOM: Byte Order Mark UTF-8 BOM is also called the UTF

Install mysql, running for some time, in the mysql directory, a bunch of like mysql-bin.000 ***, starting from the mysql-bin.000001 been ordered down, they take up a lot of hard disk space, up to dozens of G. For The large amount of space occupied by

Reprinted from http://edu.codepub.com/2010/0406/21654.php Recursively delete the directory on the common, and easily over the Internet, a search, see below import java.io.File; class DeleteDir { public static void main(String args[]) { deleteDirector

REVIEW: Oracle database operation is a complex process, operation, pay special attention to details, for example, operate on the Oracle database process, we may encounter this situation, data in the table may be repeated, so that our database during

Dex file is running on Android in delvik the java binary, if you are interested in the contents of which the developer did not disclose the source code, you can decompile dex files as follows: 1 decompression system.img System.img with xyaffs2 so you need