Ar an chéad lá is fiche de mí na Samhain, scríobh Stephen J. Turnbull:
Uwe Brauer writes:
> (with-current-buffer tmp
> ;;shrug: we asume utf8
> ;; (mm-decode-coding-region (point-min) (point-max) 'utf-8)
> (copy-to-buffer current (point-min) (point-max)))))
That can't work. `url-retrieve' returns a buffer containing exact
binary contents of the document, no decoding or parsing. Uncomment
the decoding call. In XEmacs 21.5 you can just use
`decode-coding-region' and maybe avoid pulling in mm stuff from Gnus.
Aye, what he said.
XEmacs #'decode-coding-region destroys the markers, which is why some
packages wrap it. That’s irrelevant here, though, no markers are used in the
temp buffer.
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta