Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-1944

'ascii' can't encode character u'\xe9' in position ....

    XMLWordPrintable

Details

    Description

      Hello,

      sphinx-build -b html source dest

      give this sphinx error :

      'ascii' can't encode character u'\xe9' in position ....

      In my rst file, I had :

      .. automodule:: scenarii.essais.why_sphinx_error

      :members:

      :undoc-members:

      :show-inheritance:

      Where "why_sphinx_error.py" is :

      {{{
      #!python

      #!/usr/bin/python

      coding: ISO-8859-1

      """
      at this place "é" give no sphinx error
      """

      class ButThisYes(object):
      """

       but in this place, "é" give sphinx error :
       'ascii' can't encode character u'\xe9' in position ....
       
       why ?
      """
      
      def __init__(self):
          """
           but in this place, "é" give sphinx error :
           'ascii' can't encode character u'\xe9' in position ....
      
           why ?
          """
      

      }}}


      Merci pour votre réponse.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: