* UTF-code
@ 2012-02-19 20:00 Klaus Jantzen
2012-02-19 22:16 ` UTF-code Peter Dyballa
0 siblings, 1 reply; 2+ messages in thread
From: Klaus Jantzen @ 2012-02-19 20:00 UTC (permalink / raw)
To: emacs-list
Hi,
when processing a "normal" .tex-File with Postgresql I get the message
"invalid byte sequence for encoding "UTF8": 0xde6c"
Going through a code list I found that this really seems to be a very
strange character.
Question:
How can I can find and remove/replace this byte sequence with emacs?
Thanks.
--
KDJ
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: UTF-code
2012-02-19 20:00 UTF-code Klaus Jantzen
@ 2012-02-19 22:16 ` Peter Dyballa
0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2012-02-19 22:16 UTC (permalink / raw)
To: Klaus Jantzen; +Cc: emacs-list
Am 19.2.2012 um 21:00 schrieb Klaus Jantzen:
> How can I can find and remove/replace this byte sequence with emacs?
Very simple:
============
put into your customisations:
'(read-quoted-char-radix 16)
so that you can enter any Unicode character with C-q <the hex bytes> <some non-hex character, SPACE, ESC, cursor movement> – I don't remember what the recommended procedure is. By this means you can now:
M-x replace-string RET C-q d e 6 c RET RET <the substitute> RET
--
Mit friedvollen Grüßen
Pete
Sorry my terrible English, my native language Lisp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-19 22:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-19 20:00 UTF-code Klaus Jantzen
2012-02-19 22:16 ` UTF-code Peter Dyballa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).