Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
93 views
in Technique[技术] by (71.8m points)

c# - Google search results displaying encoded characters

Text in my database is saved as

<p>Some example text, more text </p>

On a ASP .Net webpage, I have a textbox and Decode the above text

txtDescription.Text = Server.HtmlDecode(o.Description);

On the webpage all is displayed correctly.

The problem i have is when google is searched the description on google it displays text as

p>Some example text..... perhaps with other encoding.

As in there is a p tag with a missing anchor at the start (<) but i dont know why its doing this?

What am i missing here?

Is there anyway i could make a change and then test this as i believe google takes a few days to update its search content even though i can manually publish it again?

question from:https://stackoverflow.com/questions/65905767/google-search-results-displaying-encoded-characters

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...