Marc-Andre Lemburg <m...@egenix.com> added the comment: Ezio Melotti wrote: > > Ezio Melotti <ezio.melo...@gmail.com> added the comment: > > Alexander suggested on IRC to use the 'unicode' directive[0], but even if > that works in the HTML (only outside code blocks), it still breaks the PDF. > Another alternative that might work is the 'raw' role[1]. > > [0]: > http://docutils.sourceforge.net/docs/ref/rst/directives.html#unicode-character-codes > [1]: http://docutils.sourceforge.net/docs/ref/rst/roles.html#specialized-roles
I don't think we should include Unicode code points as literals in Python source code examples, for much the same reason we don't want them in the stdlib source code. Why don't you use the standard literal escapes for the examples and annotate the code points with the code point names ? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10665> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com