Since Windows and Linux have different identification of line breaks, the code transfer caused by different systems may cause the code format to change, which may cause the program to fail to compile normally. Therefore, according to some compilation error messages, we can locate the file format problem and need to convert the text file of the program.
If you use notepad under windows, You can check whether it is a unix file in the drop-down menu of [Edit]-[Various Document Conversions] in the menu bar Format, the currently used state is unselectable; and the file type will be displayed in the lower right corner of notepad. (recommended learning: notepad use)
The above is the detailed content of Notepad checks whether the file format is unix. For more information, please follow other related articles on the PHP Chinese website!