Compile times error with notepad++ encoding (resolved?)

Source: Internet
Author: User
compile times error with notepad++ encoding (resolved?) use notepad++ encoding, compile often error, say what GBK code What what what what?
But the same coding with eclipse is no problem.
Again, it's no problem to keep him in ANSI format with Notepad.
******
Aren't Java encodings all in UTF-8 format?

*****
Ben Shuai today decided not to notepad++, or use Eclipse, save trouble


Ben today with notepad++ compiler, an accidental opportunity to find that the Win7 CMD window is encoded with the ANSI format, so that the compilation of Chinese characters will be garbled. So the handsome on the notepad++ also replaced with ANSI code, then execute the javac command with CMD and compile successfully!

Compile times error with notepad++ encoding (resolved?)

Related Article

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.