How to get a proper tag Url I use the code "Link to the Tag URLs" from the following article:
https://craftcms.com/support/tag-urls

{% if entry.tags | length %}
&lt;h3&gt;This entry is tagged with:&lt;/h3&gt;

&lt;ul&gt;
    {% for tag in entry.tags %}
        &lt;li&gt;&lt;a href="{{ siteUrl }}tags/{{ tag.title | url_encode }}"&gt;{{ tag.title }}&lt;/a&gt;&lt;/li&gt;
    {% endfor %}
&lt;/ul&gt;{% endif %}


One thing is that the "url_encode" doesnt really apply as if I expected. The URL looks like this:
http://domain.dev/tags/My%20Tag%20Name

But when I click on it, there are still spaces in the address line. 

So my question is: is that ok like this?

I was also thinking about using the kebab filter. There I receive this url:
http://domain.dev/tags/my-tag-name

which looks prettier. But I now I get an error with the routing when I want fetch the tag:

{% set tag = craft.tags.title(tag).first() %}
This post helped me with my issue with a different approach (except of using the kebab filter the slug of the tag is used for the route)

Use of tag.slug instead of tag.title in a custom route

as I think that makes lot more sense then using the title, maybe it would be a good idea to update the article in the support section of the craftcms website.