[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eww doesn't decode %AA%BB%CC URL names
From: |
Eli Zaretskii |
Subject: |
Re: eww doesn't decode %AA%BB%CC URL names |
Date: |
Fri, 25 Dec 2015 09:17:11 +0200 |
> From: Lars Ingebrigtsen <address@hidden>
> Cc: address@hidden
> Date: Thu, 24 Dec 2015 22:17:10 +0100
>
> Eli Zaretskii <address@hidden> writes:
>
> > If you want to check that STRING can be encoded in CODING, do this:
> >
> > (member CODING (find-coding-systems-string STRING))
> >
> > and see if the result is non-nil.
>
> Hm:
>
> (find-coding-systems-string "a")
> => (undecided)
This is normal for pure ASCII. If the return value is just that, then
CODING, any CODING, can do the job.
> (find-coding-systems-string "Сердце")
> => (chinese-iso-8bit japanese-shift-jis iso-2022-jp utf-8 korean-iso-8bit
> euc-jis-2004 japanese-iso-8bit iso-2022-jp-2004 cp855 windows-1251 koi8-t
> koi8-u cp866 koi8-u cyrillic-koi8 cyrillic-iso-8bit chinese-gb18030
> chinese-gbk chinese-big5-hkscs chinese-hz utf-7 iso-2022-kr iso-2022-jp-2
> iso-2022-cn-ext iso-2022-cn utf-16 utf-16be-with-signature
> utf-16le-with-signature utf-16be utf-16le compound-text-with-extensions
> compound-text iso-2022-7bit utf-8-auto utf-8-with-signature emacs-mule
> raw-text iso-2022-8bit-ss2 iso-2022-7bit-lock eucjp-ms korean-cp949
> japanese-shift-jis-2004 japanese-iso-7bit-1978-irv japanese-cp932 pt154 mik
> cp1125 cyrillic-alternativnyj utf-7-imap utf-8-emacs prefer-utf-8
> no-conversion ctext-no-compositions iso-2022-7bit-lock-ss2 iso-2022-7bit-ss2)
>
> Wowza.
Yeah.
> Ok, I think I should now be able to create the function in question.
> Thanks for all the help. :-)
You are welcome.
- Re: eww doesn't decode %AA%BB%CC URL names, (continued)
- Re: eww doesn't decode %AA%BB%CC URL names, Lars Ingebrigtsen, 2015/12/24
- Re: eww doesn't decode %AA%BB%CC URL names, Lars Ingebrigtsen, 2015/12/24
- Re: eww doesn't decode %AA%BB%CC URL names, Eli Zaretskii, 2015/12/24
- Re: eww doesn't decode %AA%BB%CC URL names, Lars Ingebrigtsen, 2015/12/24
- Re: eww doesn't decode %AA%BB%CC URL names, Eli Zaretskii, 2015/12/24
- Re: eww doesn't decode %AA%BB%CC URL names, Eli Zaretskii, 2015/12/24
- Re: eww doesn't decode %AA%BB%CC URL names, Lars Ingebrigtsen, 2015/12/24
- Re: eww doesn't decode %AA%BB%CC URL names, Lars Ingebrigtsen, 2015/12/24
- Re: eww doesn't decode %AA%BB%CC URL names, Eli Zaretskii, 2015/12/25
- Re: eww doesn't decode %AA%BB%CC URL names, Lars Ingebrigtsen, 2015/12/25
- Re: eww doesn't decode %AA%BB%CC URL names,
Eli Zaretskii <=