How can I represent esoteric characters (e.g. character entities) in a document?
For example, say you want an em-dash (XML character entity —, Unicode character U+2014) in your document: use a real em-dash. Insert concrete characters (e.g. type a real em-dash) into your input file, using whatever encoding suits your application, and tell Docutils the input encoding. Docutils uses Unicode internally, so the em-dash character is a real em-dash internally. Emacs users should refer to the Emacs Support for reStructuredText document. Tips for other editors are welcome. ReStructuredText has no character entity subsystem; it doesn’t know anything about XML charents. To Docutils, “—” in input text is 7 discrete characters; no interpretation happens. When writing HTML, the “&” is converted to “&”, so in the raw output you’d see “—”. There’s no difference in interpretation for text inside or outside inline literals or literal blocks — there’s no character entity interpretation in either case. If you can’t use a Unicode-compatible encoding and must
Related Questions
- OK, so I can get Murky to Horde characters on that PvP realm. Can I transfer an Alliance character on a PvE realm to a PvP realm on which I play other Alliance characters?
- How does MathWorld handle character entities, accents, and international characters?
- How can I represent esoteric characters (e.g. character entities) in a document?