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"?>