help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: url-retrieve and utf-8


From: Andreas Röhler
Subject: Re: url-retrieve and utf-8
Date: Tue, 5 Feb 2008 11:50:17 +0100
User-agent: KMail/1.9.5

Am Dienstag, 5. Februar 2008 04:55 schrieb William Xu:
> Andreas Röhler <andreas.roehler@online.de> writes:
> > ======> Space, tab, newline and formfeed <============
> >
> > are classified as
> >      whitespace in almost all major modes.
>
> If [:space:] is for the above purpose, how come it eats some non-ascii
> chacracters(here, it is japanese) ?


As it depends from definition of whitespace-syntax,
that may happen, however indicates some error in that
definition.

To exclude errors here, you could use
(skip-chars-backward " ") i.e. not relying at the
class-matter at all AFAIU.


>
> Maybe due to the buffer not correctly encoded? Back to my original
> question, does url-retrieve respect "Context-type, charset", headers in
> a html page?

Good question. Unfortunately I ignore these things. From this point of
ignorance I would expect, `url-retrieve' delivering the
stuff as-is, which must be parsed afterwards. Right or
wrong?

Should I discover more, I'll let you know.

Andreas Röhler




reply via email to

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