Accented characters in Sphinx headings

243 Views Asked by At

I want to include accented characters in a Sphinx heading such that I will see the following result:

Finalé

I have tried the following strategies: Use the unicode character directly such as:

Finalé
======

but the character is considered invalid by Docutils.

Also, I have tried using the strip_html specification in conf.py along with the following text:

Finalé
==============

But the text is left unchanged and the HTML entity is passed through.

Can anyone suggest a way of handling accented characters in Sphinx that will work in all situations and where the final output may be HTML or Latex?

0

There are 0 best solutions below