[Top][All Lists]

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

Re: `decode-coding-string' question

From: Kenichi Handa
Subject: Re: `decode-coding-string' question
Date: Thu, 06 Jul 2006 10:08:17 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Paul Pogonyshev <address@hidden> writes:

>> Why don't you find paticular characters in the decoded
>> string?

> I do.  But I need to know where they begin in the buffer (containing
> the encoded C string.)  I don't see a way to keep this information at
> present... :(

How did you make that buffer?  Why don't you have an
already-decoded text in that buffer?

> For instance, if the buffer only contains "\xc2\xa9foo", I'd like
> to receive a string with the following text properties:

>   #("©foo" 0 1 (point 0) 1 2 (point 8) 2 3 (point 9) 3 4 (point 10))

> The first characters actually takes 8 characters in the buffer!

They are just displayed by 8 characters, as well as, a
control character, say Formfeed (C-l), is displayed by 2
characters "^L".

Kenichi Handa

reply via email to

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