URL中的段落字符? [英] Paragraph character in URL?

查看:123
本文介绍了URL中的段落字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚浏览了 Google App Engine文章,该文章使用那些有趣的倒退P字符(看起来接近第一个代码框的顶部)。你知道你的高中英语老师用来标记新段落的字符(我已经了解到,感谢维基百科,这被称为pilcrow)。

我从来没有在URL中看到过这个。那么这是什么?


  1. 这有一个标准的具体含义,即...

  2. 是一个错字,它应该是......

  3. 这是谷歌上的某个人刚刚编写的东西。他们可能的意思是...

  4. 什么字符?我看到的东西。


解决方案

& para is在形成html转义序列& para; ,即¶的部分的URL中。这是奇怪的浏览器行为,鉴于转义序列不完整(缺少; ),Chrome仍在渲染符号。我相信转义序列本身没有被正确转义。


I just ran across this an Google App Engine article that uses that funny backwards 'P' character in some URL's (look near the top of the first code box). You know that character that your high school English teacher used to mark new paragraphs (which I've learned, thanks to Wikipedia, is called a "pilcrow").

I've never seen this in a URL. So which is it?

  1. This has a standard specific meaning which is ...
  2. This is a typo, it should be ...
  3. This is something that somebody at Google just made up. What they might mean is ...
  4. What character? I'm seeing things.

解决方案

&para is in the URL which forms part of the html escape sequence ¶, i.e. ¶. It is odd browser behavior that, given the escape sequence is not complete (missing ;), Chrome is still rendering the symbol. The escape sequence itself has just not been escaped correctly in the snippet I believe..

这篇关于URL中的段落字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆