my locale is pt_BR.utf8 using on debian / ubuntu.
because we use chars like çã çõ etc... inside conf.py (for name projects,
etc) we made this changes.
be sure that all your sources files are in utf8 unicode (on windows too).
when you  create your make html all html and others formats are output in
utf8 too.

in your conf.py in first line put:
# -*- coding: utf-8 -*-

and directive  source_encoding may have utf-8-sig

# The encoding of source files.
source_encoding = 'utf-8-sig'


2013/6/7 Chad Cooper <supercoo...@gmail.com>

> OSX 10.8.3
> Sphinx 1.1.3
>
> I have explicitly set my html output encoding in conf.py:
>
> html_output_encoding = 'utf-8'
>
> I'm building htmlhelp so I can create .chm help on Windows:
>
> $ sphinx-build -b htmlhelp -a -E . chm
>
> However, my HTML output files are all encoded in "iso8859_1" instead:
>
> <meta http-equiv="Content-Type" content="text/html; charset=iso8859_1" />
>
> Now, if I build just html:
>
> $ sphinx-build . doc -E
>
> ...my output HTML files are indeed utf-8. Reason I'm even bothering with
> this is that Windows Help doesnt seem to like it when the HTML files
> are iso8859_1. Sure, I can change it myself, but it would be nice to just
> build it correctly. Any ideas?
>
> --
> 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 sphinx-users+unsubscr...@googlegroups.com.
> To post to this group, send email to sphinx-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
gilberto dos santos alves
+55.11.98646-5049
sao paulo - sp - brasil

-- 
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 sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to