How to make the character "tick" in the address bar as in github?

enter image description here

    2 answers 2

    The display depends on the browser. Some browsers, including Firefox, convert the text of the URL-encoded parameters to a readable form. For example, if the space is encoded as %20 , it will still be displayed as a space. When copying a link, it is copied as a URL-encoded.

    This behavior is not standard and is implemented only for ease of perception of the URL by a person. Different browsers have different ways to display URLs, different display settings, etc.

    Specifically, a check mark is a symbol ✓, which in the URL looks like %E2%9C%93 . It is used in Ruby on Rails to bypass the IE bug 5–8, because of which the text of the parameters is incorrectly interpreted.

    Just like that, for beauty, a symbol of inserting a little meaning. If you do not need IE8 support, you can forget about this technique.

    This is how your line looks like if you copy it from the browser to a notebook: https://github.com/search?utf8=%E2%9C%93&q=test

    Special character replaced by code.