View the file encoding type in Windows.

Source: Internet
Author: User

View the file encoding type in Windows.

This is the most basic skill of a programmer. Forgive me for learning it now.

 

In the past, we only knew that most of the files in the window operating system are ANSI by default, and the Chinese version is GBK encoding.

 

You can view or modify the file encoding in either of the following ways:

I. open the file in notepad and save it

You can view and modify the file encoding.

II. The other is the essential tool for programmers through tools such as notepad ++.

Open a file using a tool

The current file encoding type is selected by default. Here you can modify the file encoding, basically I will use the encode in UTF-8 without BOM

Here, and the specific difference between UTF-8, can refer

Http://www.cnblogs.com/findumars/p/3620078.html

 

Above, the linux system will be added later

 

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.