Home  >  Article  >  Development Tools  >  Notepad uses Unix encoding format by default

Notepad uses Unix encoding format by default

藏色散人
藏色散人forward
2020-04-13 17:43:115615browse

Notepad uses Unix encoding format by default

How to use notepad?

Notepad uses Unix encoding format by default:

Since the line breaks under Windows are different from those under Unix, programs edited under Windows will appear at the end of each line if viewed under Linux. The "^M" symbol is actually "\r". Line breaks under Windows are "\r" and "\n", while under Linux it is "\n" without "\r", so "\r" will be processed separately. display.

If you want to use Notepad to convert Windows style files to Unix style:

Edit-> File Format Conversion-> ; Convert to XXX format

If you want new files created by Notepad to use a certain encoding style by default:

Settings-> Preferences-> New-> Format-> ; Windows/Unix/Mac

The above is the detailed content of Notepad uses Unix encoding format by default. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete