[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suggestion: function: buffer-bytes
From: |
Kenichi Handa |
Subject: |
Re: suggestion: function: buffer-bytes |
Date: |
Mon, 09 Jul 2007 11:44:47 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
In article <address@hidden>, Stefan Monnier <address@hidden> writes:
> > But for the use case I needed, namely someone composing blog
> > entries using nxml-mode,
> > and then building up an http post message from what they created,
> > the position-bytes solution does work.
> If it worked in some case, it was only by accident, unless they specifically
> decided to use emacs-mule as the coding system for their file (and to switch
> wholesale to utf-8 at the exact time they upgrade their Emacs), which would
> be rather unusual.
Right. By the way, currently emacs-mule uses 2-bytes, for
instance, for Latin-1 characters, and UTF-8 also uses
2-bytes for them. So, in the case of sending a Latin-1 text
to a process with UTF-8, position-bytes solution works just
by chance.
---
Kenichi Handa
address@hidden
Re: suggestion: function: buffer-bytes, Eli Zaretskii, 2007/07/01