URLs copied from location entry are not properly %-encoded
Non-ASCII characters in the location entry should be %-encoded before copied to the clipboard. E.g. visit https://ja.wikipedia.org/wiki/メインページ then copy the URL from the clipboard. Expected behavior is to copy https://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8, but we regressed at some point and are now copying https://ja.wikipedia.org/wiki/メインページ to the clipboard instead.