Error solution: Invalid byte 3 of 3-byte UTF-8 sequence., 3-bytesequence

Source: Internet
Author: User

Error solution: Invalid byte 3 of 3-byte UTF-8 sequence., 3-bytesequence

The following error is prompted if the compilation fails during multi-channel packaging with ant recently.

 

I/O error for/wemicommunity/AndroidManifest. xml: Invalid byte 3 of 3-byte UTF-8 sequence.

 

 

I checked a lot of information online and determined it was a character encoding problem.

It should have caused garbled characters in other encoding format files that are directly pasted into the UTF-8 encoding format project.

 

The specific solution is

1 open with notepad

 

2 save as save with UFT-8

 

 


3. open the file and delete the wrong code.

 

Solve character encoding Problems

Great.

Wish everyone a daily Improvement

Thank you.


Error loading XML file in JAVA Invalid byte 3 of 3-byte UTF-8 sequence

Encoding Error, if you set the character encoding dead UTF-8, make sure the character set is encoded as UTF-8 rather than ANSI when saving. You can open it with notepad, and then save it as, character encoding to select UTF-8 to try.

Tomcat problem, the following exception occurs Invalid byte 1 of 1-byte UTF-8 sequence

XML content is actually coded in UTF-8, so the XML file including Chinese characters cannot be read normally, the encoding format changed to "GB2312" can be resolved normally. <? Xml version = "1.0" encoding = "GB2312"?>

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.