Filed in: Cookbook.CopyingInternationalURLs · Modified on : Sun, 19 Feb 23
How can I copy an URL which contains international non-ASCII characters in the address bar?
On international web sites the address bar of your browser may show international non-ASCII characters. Because non-ASCII characters are not permitted in URLs, these characters are most likely url-encoded UTF-8 characters, and the browser decodes these to display them readable. If you now copy such a URL from the browser's address bar to your wiki page (insert into the edit text form), you most likely see the url-encoded URL,,with lots of %nn . Although this is functional and correct, it is not pretty and may not be what you want.
Here are some tips to copy the address without the url-encoding:
https://
about:config
in address bar, search for urlbar, toggle value of browser.urlbar.decodeURLsOnCopy
to True
Example, from same site, both will form correct links:
URL copied as-is (url-encoded):
https://ja.wikipedia.org/wiki/%e3%82%b8%e3%83%a3%e3%82%a4%e3%82%a2%e3%83%b3%e3%83%88%e3%83%91%e3%83%b3%e3%83%80
URL copied decoded:
https://ja.wikipedia.org/wiki/ジャイアントパンダ
See discussion at CopyingInternationalURLs-Talk?
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.