[emacs-w3m:13378] [emacs-w3m/emacs-w3m] Fix: w3m-insert-string modifies string (#36)
Kazuhiro Ito <[email protected]>
| Newsgroups | gmane.emacs.w3m |
|---|---|
| Message-ID | <emacs-w3m/emacs-w3m/pull/[email protected]> |
encode-coding-string may modify unibyte string.
```lisp
(let ((string (string-to-unibyte "\300\261")))
(encode-coding-string string 'utf-8-emacs))
-> "\261"
```
You can view, comment on, or merge this pull request online at:
https://github.com/emacs-w3m/emacs-w3m/pull/36
-- Commit Summary --
* * w3m-util.el (w3m-insert-string): Don't touch unibyte string.
-- File Changes --
M ChangeLog (5)
M w3m-util.el (7)
-- Patch Links --
https://github.com/emacs-w3m/emacs-w3m/pull/36.patch
https://github.com/emacs-w3m/emacs-w3m/pull/36.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/emacs-w3m/emacs-w3m/pull/36