all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* converting octal escape sequences to utf-8 and back
@ 2011-05-29  0:27 Roland Winkler
  2011-05-29  2:57 ` Leo
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Roland Winkler @ 2011-05-29  0:27 UTC (permalink / raw)
  To: emacs-devel

I am trying to use emacs to interface with a program that treats
utf-8 characters in its input and output as octal escape sequences.
So the program's output contains ascii strings like "\302\247",
which I want to display within Emacs as "§". Likewise, I want to
feed text containing utf-8 characters such as "§" into this program.
So I need to convert these utf-8 characters back to their respective
octal escape sequences. What is the proper way to achieve this?

Thanks a lot,

Roland



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-05-31 21:06 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-29  0:27 converting octal escape sequences to utf-8 and back Roland Winkler
2011-05-29  2:57 ` Leo
2011-05-29  5:40   ` Michael Welsh Duggan
2011-05-29  6:35     ` Roland Winkler
2011-05-29 20:05       ` Michael Welsh Duggan
2011-05-29  6:47     ` Eli Zaretskii
2011-05-29  6:58       ` Roland Winkler
2011-05-29  8:35         ` Eli Zaretskii
2011-05-29 19:15           ` Roland Winkler
2011-05-29  8:50         ` Thien-Thi Nguyen
2011-05-29  3:00 ` Eli Zaretskii
2011-05-29  3:48   ` Roland Winkler
2011-05-30 22:39 ` Randal L. Schwartz
2011-05-31  7:14   ` Harald Hanche-Olsen
2011-05-31 17:06     ` Randal L. Schwartz
2011-05-31 20:13       ` PJ Weisberg
2011-05-30 22:54 ` Stefan Monnier
2011-05-31 21:06   ` Roland Winkler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.