unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* url-retrieve and utf-8
@ 2008-02-04  8:28 William Xu
  2008-02-04 12:43 ` William Xu
  0 siblings, 1 reply; 13+ messages in thread
From: William Xu @ 2008-02-04  8:28 UTC (permalink / raw)
  To: help-gnu-emacs

How to correctly handle utf-8 encoded html pages fetched by
url-retrieve? Or is there a way to specify a coding system for
read/write in the buffer returned by url-retrieve?

At present, I tried to call: 

  (decode-coding-string (buffer-string) 'utf-8)

But the result is only partially correct. For example, when there are a
mix of ascii and japanese characters, it only returns the ascii part.

-- 
William

http://williamxu.net9.org





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-02-08  4:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-04  8:28 url-retrieve and utf-8 William Xu
2008-02-04 12:43 ` William Xu
2008-02-04 16:02   ` Andreas Röhler
2008-02-05  3:55     ` William Xu
2008-02-05 10:50       ` Andreas Röhler
2008-02-06  6:28         ` William Xu
2008-02-05 20:02       ` Andreas Röhler
2008-02-06  6:34         ` William Xu
2008-02-06 12:36           ` Andreas Röhler
     [not found]     ` <mailman.6982.1202183739.18990.help-gnu-emacs@gnu.org>
2008-02-06 15:09       ` Stefan Monnier
2008-02-07  8:05         ` William Xu
     [not found]         ` <mailman.7082.1202371563.18990.help-gnu-emacs@gnu.org>
2008-02-08  3:06           ` Stefan Monnier
     [not found]           ` <foefpr$ifg$1@news.sap-ag.de>
2008-02-08  4:30             ` William Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).