sphinx-contrib / matlabdomain

A Sphinx extension for documenting Matlab code
http://sphinxcontrib-matlabdomain.readthedocs.io/
Other
70 stars 45 forks source link

Problem with non ascii characters #41

Closed joeced closed 6 years ago

joeced commented 9 years ago

Originally reported by: Carlos Zelayeta (Bitbucket: Calu85, GitHub: Calu85)


I am trying to use Spanish characters in the documentation of my code, but they are not rendered correctly in the html generated by sphinx using matlabdomain.

For example, if I write the folowing:

#!octave

     function particulas=avanzar(particulas,npart,dt)
     % Cambia ubicación de partículas.

I get, in the html: Cambia ubicación de partículas

My source code files are codified in utf, and I have already set source_encoding = 'utf-8' in the conf.py.

Could you check that unicode is used everywhere in matlabdomain?

Many thanks.