|
| From: | Stefan Monnier |
| Subject: | bug#1215: 23.0.60; unibyte->multibyte conversion problem (in |
| Date: | Thu, 15 Jan 2009 22:37:54 -0500 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> Sorry, but I don't see that.
> emacs -Q
> then I evaluate this:
> (with-temp-file "/temp/guillemets.txt"
> (set-buffer-multibyte nil)
> (setq buffer-file-coding-system 'raw-text-unix)
> (insert ?« "Test" ?» ?\n))
You're cheating: remove the (set-buffer-multibyte nil).
Otherwise you're not actually inserting the ?« char but the #xAB
byte instead.
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |