# Check an Internationalized URL After Copying It

https://ferkesh.net/zh/knowledgebase/article/idn-url-copy-display-path-encoding

A browser can display readable characters in a URL while copying a serialized form. To diagnose a broken link, compare the hostname and path separately using a harmless example.

![Workflow. Capture browser display. Compare copied URL. Separate host and path. Verify the destination.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-15d.svg#idn-url-copy-display-path-encoding)

## Save the two representations

Use an owned staging URL or a reserved example. Record what the browser displays and what paste inserts into a plain-text field. If a URL contains an access token or personal data, create a synthetic equivalent before sharing it.

## Compare hostname and path independently

For example, the hostname bücher.example can serialize as xn--bcher-kva.example, while the path /café can serialize as /caf%C3%A9. The hostname uses domain-to-ASCII processing and the path uses percent-encoded bytes. Preserve meaningful slash boundaries and don't decode an entire URL before comparing its components.

## Identify where the difference enters

Compare the link in the page, copied text, final browser URL and any redirect Location value for the staging fixture. If the incoming path contains percent signs resulting from added encoding, check whether the application encoded an already serialized path. Check query and fragment separately because they have different roles.

## Verify the copied result

Open the link through the ordinary browser flow and confirm it reaches the intended resource and hostname. Record the working serialized representation and which surface created the divergence.

## Related guides

- [Check Internationalized Domain Names in DNS and HTTPS](https://ferkesh.net/knowledgebase/article/idn-domain-labels-punycode-check)
- [How to Preserve Search-Friendly Redirects When Page Paths Change](https://ferkesh.net/knowledgebase/article/preserve-search-redirects-after-path-change)

## Official references

- [WHATWG URL Standard domain and path serialization](https://url.spec.whatwg.org/)

Ferkesh Hosting. Last reviewed November 27, 2026.
