1. Georg Brandl
  2. sphinx-contrib
  3. Issues
Issue #46 new

spelling: Exception due to Apostrophe, Right Single Quotation Mark

Tim Hourigan
created an issue

I've been moving some documentation from MS Word to restructured text. One passage has as an apostrophe (U+2019), which is really "Right Single Quotation Mark". This is causing an exception.

See below and attached for example & log.

Exception occurred: File "/usr/lib/python2.7/site-packages/sphinxcontrib/spelling.py", line 149, in _skip return hasattr(builtin, word) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 5: ordinal not in range(128)

Comments (0)

  1. Log in to comment