[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Unicode-2] `read' always returns multibyte symbol
From: |
Katsumi Yamaoka |
Subject: |
Re: [Unicode-2] `read' always returns multibyte symbol |
Date: |
Wed, 14 Nov 2007 12:56:54 +0900 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
>>>>> Kenichi Handa <address@hidden> wrote:
> In addition, I think it is the right thing that the above
> code return t; i.e. any symbol created by reading a
> multibyte buffer should have a multibyte string name.
I agree with that behavior.
> 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---
Sure. I'll try using a unibyte buffer to parse active data
(after the bug is fixed).
Regards,
- Re: [Unicode-2] `C-h f' error, (continued)
- Re: [Unicode-2] `C-h f' error, CHENG Gao, 2007/11/20
- Re: [Unicode-2] `C-h f' error, Katsumi Yamaoka, 2007/11/21
- Re: [Unicode-2] `C-h f' error, Kenichi Handa, 2007/11/21
- Re: [Unicode-2] `C-h f' error, Katsumi Yamaoka, 2007/11/21
- Re: [Unicode-2] `C-h f' error, Richard Stallman, 2007/11/21
- Re: [Unicode-2] `C-h f' error, Kenichi Handa, 2007/11/21
- Re: [Unicode-2] `C-h f' error, Richard Stallman, 2007/11/22
- Re: [Unicode-2] `C-h f' error, Johan Bockgård, 2007/11/23
- Re: [Unicode-2] `C-h f' error, Kenichi Handa, 2007/11/25
- Re: [Unicode-2] `C-h f' error, Kenichi Handa, 2007/11/25
Re: [Unicode-2] `read' always returns multibyte symbol,
Katsumi Yamaoka <=
- Re: [Unicode-2] `read' always returns multibyte symbol, Katsumi Yamaoka, 2007/11/14
- Re: [Unicode-2] `read' always returns multibyte symbol, Stefan Monnier, 2007/11/14
- Re: [Unicode-2] `read' always returns multibyte symbol, Katsumi Yamaoka, 2007/11/14
- Re: [Unicode-2] `read' always returns multibyte symbol, Stefan Monnier, 2007/11/14
- Re: [Unicode-2] `read' always returns multibyte symbol, Katsumi Yamaoka, 2007/11/14
- Re: [Unicode-2] `read' always returns multibyte symbol, Stefan Monnier, 2007/11/14
Re: [Unicode-2] `read' always returns multibyte symbol, Katsumi Yamaoka, 2007/11/15
Re: [Unicode-2] `read' always returns multibyte symbol, Kenichi Handa, 2007/11/15
Re: [Unicode-2] `read' always returns multibyte symbol, Katsumi Yamaoka, 2007/11/15
Re: [Unicode-2] `read' always returns multibyte symbol, Kenichi Handa, 2007/11/15