all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* search and replace codepoints
@ 2014-10-24 18:50 Haines Brown
  2014-10-24 19:33 ` Eli Zaretskii
       [not found] ` <mailman.11972.1414179242.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Haines Brown @ 2014-10-24 18:50 UTC (permalink / raw)
  To: help-gnu-emacs

I have frequently pasted hyphenated material into a large .bib file
which sometimes turns out to be a codepoint that LaTeX can't compile.

The typed or pasted hyphen that does not cause a problem looks like
this:

  character: - (displayed as -) (codepoint 45, #o55, #x2d)
  preferred charset: ascii (ASCII (ISO646 IRV))
  code point in charset: 0x2D
  category: .:Base, a:ASCII, l:Latin, r:Roman
  buffer code: #x2D
  file code: #x2D (encoded by coding system utf-8-unix)

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? What values should I use? Why is the unicode character not
identified with the usual U+...?

Haines Brown


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

end of thread, other threads:[~2014-10-25  6:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 18:50 search and replace codepoints Haines Brown
2014-10-24 19:33 ` Eli Zaretskii
     [not found] ` <mailman.11972.1414179242.1147.help-gnu-emacs@gnu.org>
2014-10-24 20:15   ` Haines Brown
2014-10-24 21:11     ` Álvar Ibeas
2014-10-25  6:27     ` Eli Zaretskii

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.