[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17865: 24.3.92; encode-coding-string returns 1
From: |
Eli Zaretskii |
Subject: |
bug#17865: 24.3.92; encode-coding-string returns 1 |
Date: |
Fri, 27 Jun 2014 23:15:02 +0300 |
> From: Leo Liu <sdl.web@gmail.com>
> Date: Sat, 28 Jun 2014 01:30:54 +0800
>
>
> (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?
Not a bug: you inserted one character.