[Error] Parsing error of RSS atom.xml: Input is not proper UTF-8, indicate encoding!

Open the RSS link: atom.xml, the error is as follows:

This page contains the following errors:
error on line 20 at column 16: Input is not proper UTF-8, indicate encoding !
Bytes: 0x15 0x3C 0x2F 0x70
Below is a rendering of the page up to the first error.

After searching, it was found that some special characters are not allowed in the provisions of XML:
 

The following are the character ranges for low-order non-printable ASCII characters that are rejected by MSXML versions 3.0 and later:
#x0 - #x8 (ASCII 0 - 8)
#xB - #xC (ASCII 11 - 12)
#xE - #x1F (ASCII 14 - 31)

 

Solution, search for illegal special characters in the document, open and delete with vim.

grep -n "\x15"

reference:

1. https://blog.csdn.net/ISaiSai/article/details/53899089

2. https://support.microsoft.com/en-us/help/315580/prb-error-message-when-an-xml-document-contains-low-order-ascii-charac

Published 245 original articles · Like 104 · Visits 690,000+

Guess you like

Origin blog.csdn.net/think_ycx/article/details/105665838