emacs-devel
[Top][All Lists]
Advanced

[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: Wed, 05 Jul 2006 09:55:43 +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:

> Bad.  OK, here is my task: I have a C string in the sources, possibly
> containing encoded characters, like

>       "foo bla \xc2\xa9",

> the last thing being the UTF-8 copyright characters.  I want to
> decode the string (can do that) _and_ know where particular
> characters begin. Currently I set text property `point' on character
> beginnings, but `decode-coding-string' eats them :(  Can anyone see a
> different solution, maybe ugly if nothing else?  (Except that custom
> implementation of `decode-coding-string' doesn't count as a solution
> ;)

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

---
Kenichi Handa
address@hidden




reply via email to

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