On 2011-11-25, Guenter Milde wrote: > On 2011-11-25, Friedrich Romstedt wrote: >> Am 25.11.2011 um 08:44 schrieb Guenter Milde <mi...@users.sf.net>: >>> On 2011-11-24, Friedrich Romstedt wrote:
>>>> I'm experiencing some problem with Sphinx 1.1.2 (and also an earlier >>>> version from July), that some characters in my HTML <title> are >>>> occuring as strange Unicode character sequences in the HTML. Here's >>>> an example: >>>> http://www.roentgen.physik.uni-goettingen.de/~fromstedt/ >>>> Watch the title displayed in the browser (not the headline, but the >>>> title). The two-character sequence is hardcoded like this in the >>>> HTML, apparently (inspection with Firefox "Show Source"). > I cannot tell the reason. Found out more: * if I download the page and open the copy from file, title and "section tags" are OK. * if i manually set the encoding (in my Firefox it is Ansicht>Zeichenkodierung and I click at the already selected utf-8), the problem vanishes as well. (The "Seiteninformationen" show ``Coding: ISO-8859-1`` before and ``Coding: UTF-8`` after this change.) Guess: The http server sends some header that makes the browser reading the document as ISO-8859-1 (latin1) encoded. Solutions: * configure the server to announce utf-8 if the doc is utf-8 encoded, or * configure Sphinx to write "ascii" or "latin1" encoded documents (in Docutils the setting is "output-encoding", should be something similar in Sphinx) Günter -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.