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: Stefan Monnier
Subject: Re: address@hidden: [patch] url-hexify-string does not follow W3C spec]
Date: Tue, 01 Aug 2006 11:54:57 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>> (if (or (multibyte-string-p string)
>>> (not unibyte-as-is-p))
>>> (encode-coding-string string 'utf-8 t)
>> 
>> Encoding a unibyte string doesn't make any sense (IMHO it should
>> signal an error, and indeed in my locally hacked Emacs it does ;-).

> It sounds to me like this would be a sensible setting, and we should
> have it before entering pretest: we would like to catch the cases
> where this happens.

IIRC it breaks Gnus and fixing it requires non-trivial changes.
But maybe I'm confusing it with some other local change of mine (e.g. maybe
the problem is only that Gnus decodes multibyte text, but not that it
encodes unibyte strings).   Try it.


        Stefan




reply via email to

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