emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: [patch] url-hexify-string does not follow W3C spec]


From: YAMAMOTO Mitsuharu
Subject: Re: address@hidden: [patch] url-hexify-string does not follow W3C spec]
Date: Mon, 31 Jul 2006 09:59:12 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On 30 Jul 2006 16:24:07 -0400, Thien-Thi Nguyen <address@hidden> said:

>> the string must be converted to hexadecimal UTF-8 and every
>> hexadecimal byte must be prefixed with a % character.

> thanks for pointing this out.  i have rewritten `url-hexify-string'.

This change breaks the following case:

(concat
 "file://localhost"
 (mapconcat 'url-hexify-string
            (split-string
             (encode-coding-string "/SOME/NONASCII/FILE/NAME"
                                   (or file-name-coding-system
                                       default-file-name-coding-system))
             "/")
            "/"))

Maybe suppress encoding with UTF-8 for unibyte strings?

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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