Closed thanhvg closed 5 years ago
Sorry about this.
I can't seem to reproduce your MWE with ycombinator.com, but I also don't doubt it's happening. The utf-8 conversion has been highly problematic and every time I try to fix it for someone, I break it for someone else.
My change in https://github.com/tkf/emacs-request/commit/30851ddbc0afe591a4c3b968bfa5e6e006168edd#diff-912d9d4e16fd12f55900a2621903077eL1074 was admittedly cavalier and probably too aggressive. I will try to pare it back.
Edit: I decided that change wasn't bold enough. I removed the line altogether in #159 .
It works again with the latest version. Thanks so much for you quick action!
OS: Ubuntu 18.04 Emacs 26.3 Request uses
curl
The latest commit 56466cdc18275642547566bb51c257aa2155d07c breaks on html buffers.
For example, the snippet bellow will read
https://news.ycombinator.com/front?day=2019-11-13
and put to a new buffer name temp:But on trying to save this temp buffer to file I got this error:
Since the buffer is not encoded properly, parser actions on it such as
libxml-parse-html-region
will fail.If i revert this line https://github.com/tkf/emacs-request/blob/56466cdc18275642547566bb51c257aa2155d07c/request.el#L1074 back to
It will work again. I don't know why, I just report my observation.
Thanks