AW: [sphinx-dev] Re: Some characters rendering wrongly in HTML output</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=sphinx-dev@googlegroups.com&q=from:%22Lothar+Braun%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Lothar Braun</span></span></a></span> <span class="date"><a href="/search?l=sphinx-dev@googlegroups.com&q=date:20111130" rel="nofollow">Wed, 30 Nov 2011 22:02:06 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>Hi, maybe a similar problem:</pre><pre> <a rel="nofollow" href="http://comments.gmane.org/gmane.comp.python.sphinx.devel/3699">http://comments.gmane.org/gmane.comp.python.sphinx.devel/3699</a> With a suggestion from Roberta Alsina: > You are probably having it "fixed" by smartypants. > > You could disable it using the option > > html_use_smartypants=False > > in your conf.py Just a thought Lothar > >> In that example, the two-char sequence results from an apostroph ' . > > > > AFAIK, Sphinx uses "smartypants" to convert > > > > Character ' (39, 0x27) APOSTROPHE > > * neutral (vertical) glyph with mixed usage > > > > to > > > > Character '’' (8217, 0x2019) > > 2019 RIGHT SINGLE QUOTATION MARK > > = single comma quotation mark > > * this is the preferred character to use for apostrophe > > > > At least this is what I see in the first section heading. > > > > Maybe you can disable this replacement. > > If I know how; although I would prefer a real fix / explanation. > > >> I think that my vim on my institute computer writes out just plain > >> ASCII (i.e., not 16bit Unicode). ``file`` says:: > > > >> ASCII English text > > > > If it really writes just ASCII, how do you write Röntgen in your > > source files? > > I don't. I write Roentgen. I switched my keyboard to US layout since DE > layout is terrible for programming too. > > >> If anyone has an idea how to track this down, it's very much > welcome. > > > > In "Romstedt’s", the three bytes of the UTF-8 representation of the > > Character '’' (8217, 0x2019) RIGHT SINGLE QUOTATION MARK are treated > > as three characters. > > Three bytes? Meaning ' is an digraph even though it is Unicoded? I > remember there are several possibilities to encode some characters in > Unicode. > > > How do you specify the title? > > Currently by the headline. I will try the .. title:: next. > > > What is the locale encoding? > > Mixed. The system has german i18n but I changed keyboard layout to US > so I guess LOCALE is us_US.something. I remember MATLAB complaining > about inconsistencies upon startup. I will investigate it. > > CU > Friedrich > > -- > 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 > <a rel="nofollow" href="http://groups.google.com/group/sphinx-dev?hl=en">http://groups.google.com/group/sphinx-dev?hl=en</a>. -- 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 <a rel="nofollow" href="http://groups.google.com/group/sphinx-dev?hl=en">http://groups.google.com/group/sphinx-dev?hl=en</a>. </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg05282.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#05288">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#05288">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg05283.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg05273.html">[sphinx-dev] Re: Some characters rendering wrongly in H...</a></span> <span class="sender italic">Viktor Haag</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05274.html">Re: [sphinx-dev] Re: Some characters rendering wro...</a></span> <span class="sender italic">Friedrich Romstedt</span></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg05275.html">[sphinx-dev] Re: Some characters rendering wrongly in H...</a></span> <span class="sender italic">Guenter Milde</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05276.html">Re: [sphinx-dev] Re: Some characters rendering wro...</a></span> <span class="sender italic">Friedrich Romstedt</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05277.html">Re: [sphinx-dev] Re: Some characters rendering...</a></span> <span class="sender italic">Friedrich Romstedt</span></li> <li class="icons-email"><span class="subject"><a href="msg05278.html">Re: [sphinx-dev] Re: Some characters rendering...</a></span> <span class="sender italic">Friedrich Romstedt</span></li> <li class="icons-email"><span class="subject"><a href="msg05279.html">[sphinx-dev] Re: Some characters rendering wro...</a></span> <span class="sender italic">Guenter Milde</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05280.html">[sphinx-dev] Re: Some characters rendering...</a></span> <span class="sender italic">Guenter Milde</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg05281.html">Re: [sphinx-dev] Re: Some characters r...</a></span> <span class="sender italic">Georg Brandl</span></li> <li class="icons-email"><span class="subject"><a href="msg05282.html">Re: [sphinx-dev] Re: Some characters r...</a></span> <span class="sender italic">Friedrich Romstedt</span></li> </ul></li> </ul></li> <li class="icons-email tSliceCur"><span class="subject">AW: [sphinx-dev] Re: Some characters rendering...</span> <span class="sender italic">Lothar Braun</span></li> </ul> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="AW: [sphinx-dev] Re: Some characters rendering wrongly in HTML <title> output"> <input type="hidden" name="msgid" value="C1FA8342E48FED45AF993CA79C34BB8659474D434A@EXCH02.aucotec.com"> <input type="hidden" name="relpath" value="sphinx-dev@googlegroups.com/msg05288.html"> <input type="submit" value=" Lothar Braun "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="sphinx-dev@googlegroups.com"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search sphinx-dev"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/sphinx-dev@googlegroups.com/">sphinx-dev - all messages</a></li> <li class="icons-about"><a href="/sphinx-dev@googlegroups.com/info.html">sphinx-dev - about the list</a></li> <li class="icons-expand"><a href="/search?l=sphinx-dev@googlegroups.com&q=subject:%22AW%5C%3A+%5C%5Bsphinx%5C-dev%5C%5D+Re%5C%3A+Some+characters+rendering+wrongly+in+HTML+%3Ctitle%3E+output%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg05282.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg05283.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">C1FA8342E48FED45AF993CA79C34BB8659474D434A@EXCH02.aucotec.com</li> </ul> </div> </body> </html>