# Copying Cyrillic URLs in Google Chrome and Firefox

*2018-10-21*

> Why Cyrillic URLs become percent-encoded when copied from Chrome and Firefox, with workarounds for preserving readable links.

While using Google Chrome, I encountered unexpected behavior when copying and pasting URLs containing Cyrillic characters.

When I pasted a copied URL, the non-ASCII characters in its path appeared as [percent-encoded sequences](https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding).

Further testing revealed the same behavior in Firefox.

{{< figure align="aligncenter" width=474 src="/wp-content/uploads/2018/10/Screenshot-2018-10-21-at-20.56.59.png" alt="Percent-encoded URLs copied from Google Chrome and Firefox" caption="Percent-encoded URLs copied from Google Chrome and Firefox" >}}

My research led me to [Issue 68718](https://bugs.chromium.org/p/chromium/issues/detail?id=68718), which had been marked **WontFix** with the following explanation:

> Links on Wikipedia itself are a red herring, as comment 50 notes -- they're escaped in the page source.  The actual issue here is demonstrated by the link in comment 0.  We escape URLs when copying them.  This behavior matches Firefox 4 (by default) and Safari 5, though not IE9.
>
> We added this behavior on  issue 2820  to fix a variety of problems in languages like Japanese.  Because those problems resulted in users unable to navigate to the pasted links, whereas this issue seems to be solely about cosmetics (in that escaped URLs are ugly and hard to read), preserving that behavior change seems like the more important thing to do.

### Workarounds

At the time of writing, there were a few workarounds:

- Before copying the URL, add a character at the end, then delete it. The copied URL should then retain its Cyrillic characters when pasted.
- Use the [COPY URL](https://chrome.google.com/webstore/detail/copy-url/mkhnbhdofgaendegcgbmndipmijhbili) extension.
- Use a different browser. Microsoft Edge on Windows and Safari on macOS produced readable Cyrillic URLs.

_Featured image: [Wallpaper Cave](https://wallpapercave.com/w/A7ZAUTz)_

