emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: webjump-url-encode and non-ascii characters]


From: Kenichi Handa
Subject: Re: address@hidden: webjump-url-encode and non-ascii characters]
Date: Tue, 24 Jul 2007 13:16:07 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, William <address@hidden> writes:

> 2007/7/24, Kenichi Handa <address@hidden>:
> > > Is this patch correct?  Most particularly, is it correct to use
> > > buffer-file-coding-system for a URL?  I have doubts about that.
> >
> > I doubts too.  I'm not the expert of URL (or URI) encoding,
> > but, as far as I remember, non-ASCII characters in URL must
> > be at first encoded by UTF-8 then by %-encoding.  So, for
> > instance, �+" (U+00E0) must be encoded to "%C3%80".

> Oh, you are right. buffer-file-coding-system should be replaced by
> 'utf-8. It happens to be the same value here.

One more note about your change.

As mapconcat accepts a sequence (including string),
string-to-list is not necessary.

---
Kenichi Handa
address@hidden




reply via email to

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