[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: search and replace codepoints
From: |
Eli Zaretskii |
Subject: |
Re: search and replace codepoints |
Date: |
Fri, 24 Oct 2014 22:33:32 +0300 |
> From: Haines Brown <haines@histomat.net>
> Date: Fri, 24 Oct 2014 14:50:23 -0400
>
> The pasted hyphen that LaTeX can't compile looks like this:
>
> character: (displayed as ) (codepoint 173, #o255, #xad)
> preferred charset: unicode (Unicode (ISO10646))
> code point in charset: 0xAD
> category: b:Arabic, h:Korean, j:Japanese, l:Latin
> buffer code: #xC2 #xAD
> file code: #xC2 #xAD (encoded by coding system utf-8-unix)
>
> How do I do a search/replace to replace instances of the latter with the
> former?
Just replace it with M-%, as you would any other character.
> What values should I use?
The one shown above, of course.
> Why is the unicode character not identified with the usual U+...?
The codepoint #xad _is_ the Unicode codepoint, u+00AD.