emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Unicode-2] `read' always returns multibyte symbol


From: Kenichi Handa
Subject: Re: [Unicode-2] `read' always returns multibyte symbol
Date: Wed, 14 Nov 2007 13:53:25 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

> > The bug to fix is that the following code also returns t in
> > emacs-unicode-2.

> > < --8<---------------cut here---------------start------------->8---
> > < (let ((string (encode-coding-string "local.ใƒ†ใ‚นใƒˆ" 'utf-8)))
> > <   (with-temp-buffer
> > <     (set-buffer-multibyte nil)
> > <     (insert string)
> > <     (goto-char (point-min))
> > <     (multibyte-string-p (symbol-name (read (current-buffer))))))
> > < --8<---------------cut here---------------end--------------->8---

> Yes, that's a clear bug.

I've just installed a fix.

---
Kenichi Handa
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]