emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eww doesn't decode %AA%BB%CC URL names


From: Lars Ingebrigtsen
Subject: Re: eww doesn't decode %AA%BB%CC URL names
Date: Thu, 24 Dec 2015 22:04:08 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)

After spelunking down into `set-language-environment', it seems like
it's the setting of `default-file-name-coding-system' that's the problem
here:

(encode-coding-string
 (decode-coding-string
  (url-unhex-string "%D0%A1%D0%B5%D1%80%D0%B4%D1%86%D0%B5")
  'utf-8)
 default-file-name-coding-system)
=> "      "

So I guess the file name should remain those percentages if it can't be
encoded using that...  but how do I check that, then?  :-)

Charsets are hard!

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]