all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17865: 24.3.92; encode-coding-string returns 1
@ 2014-06-27 17:30 Leo Liu
  2014-06-27 20:15 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Liu @ 2014-06-27 17:30 UTC (permalink / raw)
  To: 17865


(with-temp-buffer
  (set-buffer-multibyte nil)
  (list (encode-coding-string "我" 'utf-8 nil (current-buffer))
        (buffer-string)))

In my emacs it inserts three bytes yet return just one. Bug?

Leo





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

end of thread, other threads:[~2014-06-28  7:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-27 17:30 bug#17865: 24.3.92; encode-coding-string returns 1 Leo Liu
2014-06-27 20:15 ` Eli Zaretskii
2014-06-27 23:56   ` Leo Liu
2014-06-28  7:00     ` Eli Zaretskii
2014-06-28  7:29     ` Andreas Schwab

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.