Hi John,

You might already know, Sphinx supports unicode docstring.

Thanks,
Takeshi KOMIYA

2019年1月16日(水) 22:49 johna318 <[email protected]>:
>
> I'm new to sphinx and to this group.  This may be in the docs but I didn't 
> see anything.
>
> Will sphinx properly process unicode docstrings in my 2.7 code, i.e. 
> docstrings represented with unicode literals (u'...')?
>
> (The reason is that my code deals extensively with East Asian character sets.)
>
> Python 2.7 recognizes them as docstrings and stores than as __doc__, but I 
> don't know if sphinx autodoc will accept them and process them properly.
>
> I also wonder whether the sphinx code will behave differently in this regard 
> depending on whether it's running under python 2.7 or python 3.x.
>
> I plan to set up a small sample project where I can test this but if someone 
> already has a definite answer (or answers) either yes or no (and maybe why? 
> in the case of no), that would help me.
>
> -- John
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to