搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Quotation marks display as &quot in web pages, I'm using Unicode UTF-8 character encoding.

  • 3 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 jmclvn

more options

On many web pages, where a quotation mark character should appear, instead the page displays the text &quot. I believe this happens with other punctuation characters as well such as apostrophes although the text displayed in these other cases is different, of course. I'm guessing this is a problem with character encoding. I'm currently set to Unicode (UTF-8) encoding. Have tried several others without success.

On many web pages, where a quotation mark character should appear, instead the page displays the text &quot. I believe this happens with other punctuation characters as well such as apostrophes although the text displayed in these other cases is different, of course. I'm guessing this is a problem with character encoding. I'm currently set to Unicode (UTF-8) encoding. Have tried several others without success.

所有回复 (3)

more options

Can you give a link as an example?

It is possible that the text was copied from an other source and that the & was HTML encoded a second time as & and appears as such in the page code.
If the HTML entity is used then the encoding shouldn't matter.

more options

Here's a link where the problem occurs. Note the second line of the main body of text.

http://www.sierratradingpost.com/lp2/snowshoes.html

BTW, I never use IE, but I checked this site in IE and it shows the same problem, so maybe it is the page encoding after all rather than what I thought.

In any case, my thanks for your help and would appreciate any solution you can suggest.

more options

Probably mis-posted my reply to your request. See post above.

由jmclvn于修改