]> git.eshelyaron.com Git - emacs.git/commit
Fix `W' in Dired with non-ASCII file names
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Mar 2022 02:27:55 +0000 (03:27 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Mar 2022 02:28:32 +0000 (03:28 +0100)
commite06319b39d548571f19964b392be779aae7d298a
treee10f8179833496e1937fd15c61322b9f6fbe21f2
parent36b31d38cd9bde7ad1ec18c136854cddba0d6bbe
Fix `W' in Dired with non-ASCII file names

* lisp/net/browse-url.el (browse-url--file-name-coding-system):
Factor out into own function.
(browse-url-file-url): Property encode non-ASCII characters so
that external browsers can understand them.
(browse-url-emacs): Make `W' in Dired work with non-ASCII file
names (bug#54271).
lisp/net/browse-url.el
test/lisp/net/browse-url-tests.el