Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say I open a webpage with some Unicode characters, say, Cyrillic, in the address like this:Функциональная_закреплённость

When I try to copy it from the address bar somewhere else, it becomes unreadable rubbish:

I guess this is for compatibility. However for readability I want to copy it straight away with proper Unicode characters.

What and how should I tweak to make that possible?

Edit: The answers are good, but they are hacky. Are there any settings in about:config?

share|improve this question
up vote 13 down vote accepted

Try setting the network.standard-url.escape-utf8 option via about:config.

Possible values and their effects:

  • true - Escape UTF-8 URLs. (Default)
  • false - Do not escape UTF-8 URLs.
share|improve this answer
Doesn't seem to be working anymore. I'm using FF28. The option is there but it gives no effect. – Adobe Jul 11 '14 at 12:20
For the record for future visitors, setting network.standard-url.escape-utf8 to false does seem to work as of FF40. – sundar Aug 29 '15 at 19:50
This was the default on some version, but was changed because it breaks some websites: – Ciro Santilli 巴拿馬文件 六四事件 法轮功 Oct 7 '15 at 4:58
Works fine in FF 45. – Aleksey K Mar 29 at 22:02

Yes, browsers do that -- it's URL encoding and actually a quite useful thing.

I see two choices

  1. Copy only a fragment of the URL, it will not be URL encoded.

  2. Decode the URL encoding. In Unix, you can open a terminal, and type

    echo -n -e "$(echo | sed 's/+/ /g;s/%\(..\)/\\x\1/g;')"
share|improve this answer

It's not rubbish, it's URL encoded. However here's the trick:
You can edit the URL in the address bar (by adding and then removing a character), and the copy-pasting should preserve the encoding.

share|improve this answer
Why the downvote? oO – m4573r Sep 28 '12 at 8:56
Interesting "trick". Seems to work in Firefox v.32, however unfortunately not in Chromium v.37 (~ Google Chrome). Or does it? – nutty about natty Sep 9 '14 at 13:28
  1. Copy the URL from the address bar

  2. Paste it here.

  3. Press the Decode button.

  4. Copy the decoded URL and use it elsewhere.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .