# Issue with IRI and pasted URLs

**URL:** https://meta.discourse.org/t/issue-with-iri-and-pasted-urls/184886
**Category:** UX
**Created:** [March 30, 2021, 7:24pm UTC](https://meta.discourse.org/t/issue-with-iri-and-pasted-urls/184886 "2021-03-30T19:24:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [March 30, 2021, 7:24pm UTC](https://meta.discourse.org/t/issue-with-iri-and-pasted-urls/184886/1 "2021-03-30T19:24:55Z")

</div>

## Problem

When a topic is created using a pasted URL pointing to an IRI (i.e., with accented characters or foreign scripts), the resulting link anchor shows URL-encoded characters as shown in the screenshot below, where the hostname is `dérivation.fr` and should read like this instead of `d%c3%a9rication.fr`.

![image](https://global.discourse-cdn.com/meta/original/3X/b/c/bc659dafd95d5fa1ca3e028d89b9ec5b0ab9c728.png)

## Solution

Unescape the hostname when displaying the link.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 17, 2022, 6:37pm UTC](https://meta.discourse.org/t/issue-with-iri-and-pasted-urls/184886/2 "2022-01-17T18:37:53Z")

</div>

Can we still repro this @hellekin?

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [January 17, 2022, 10:27pm UTC](https://meta.discourse.org/t/issue-with-iri-and-pasted-urls/184886/3 "2022-01-17T22:27:27Z")

</div>

Yes, I just tested it again, and the bug is not addressed yet.
