all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: William <william.xwl@gmail.com>
To: "Kenichi Handa" <handa@m17n.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [william.xwl@gmail.com: webjump-url-encode and non-ascii characters]
Date: Tue, 24 Jul 2007 12:36:21 +0900	[thread overview]
Message-ID: <ded049930707232036j5abbe258j290c4266f69410a7@mail.gmail.com> (raw)
In-Reply-To: <E1ID9Zc-0001A8-Lz@etlken.m17n.org>

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

2007/7/24, Kenichi Handa <handa@m17n.org>:

> > 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.

-- 
William

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2007-07-24  3:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1ICpXt-00033U-DV@fencepost.gnu.org>
2007-07-24  1:52 ` [william.xwl@gmail.com: webjump-url-encode and non-ascii characters] Kenichi Handa
2007-07-24  3:36   ` William [this message]
2007-07-24  4:16     ` Kenichi Handa
2007-07-24 12:31       ` William Xu
2007-07-25  0:55         ` Kenichi Handa
2007-07-25  2:35           ` William Xu
2007-07-25  4:30             ` Stefan Monnier
2007-07-25  4:50               ` William Xu
2007-07-25  6:50                 ` Stefan Monnier
2007-07-25  6:57                   ` William Xu
2007-07-25 14:48                     ` Stefan Monnier
2007-07-25 20:11               ` Richard Stallman
2007-07-26  2:22                 ` William Xu
2007-07-24 22:16   ` Richard Stallman
2007-07-25  0:56     ` Kenichi Handa
2007-07-08 22:23 Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ded049930707232036j5abbe258j290c4266f69410a7@mail.gmail.com \
    --to=william.xwl@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.