<div dir="ltr">The quotes I intended in this email are just “ ‘<span style="white-space:pre"> ” , and ’ where the encoding is appropriate.</span><div><span style="white-space:pre">Internationalization was not the intent of this. I do believe that you have a good point with supporting common quotes in other languages, but I believe that such a change would be large enough to consider a PEP.</span></div><div><span style="white-space:pre">I am aware that there are other unicode characters, even in English with the Quotation_Mark character property, but this proposed change aims to solve the problem caused when editors, mail clients, web browsers, and operating systems over-zealously replacing straight quotes with these typographical characters.</span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">-Ryan Birmingham<br></div></div>
<br><div class="gmail_quote">On 22 October 2016 at 02:35, Steven D'Aprano <span dir="ltr"><<a href="mailto:steve@pearwood.info" target="_blank">steve@pearwood.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Oct 22, 2016 at 01:17:58AM -0400, Ryan Birmingham wrote:<br>
> Hello everyone,<br>
><br>
> I want to start small and ask about smart/curly quote marks (” vs ").<br>
<br>
</span>Which curly quotes are you going to support? There's Dutch, of course:<br>
<br>
„…” ‚…’<br>
<br>
But how about … ?<br>
<br>
- English ‘…’ “…”<br>
<br>
- French « … » “…”<br>
<br>
- Swiss «…» ‹…›<br>
<br>
- Hebrew „…” ‚…’<br>
<br>
- Hungarian „…” »…«<br>
<br>
- Icelandic „…“ ‚…‘<br>
<br>
- Japanese 「…」 『…』<br>
<br>
- Polish „…” «…» »…«<br>
<br>
- Swedish ”…” ’…’ »…» »…«<br>
<br>
to mention only a few. I think it would be unfair to all the non-Dutch<br>
programmers if we only supported Dutch quotation marks, but as you can<br>
see, supporting the full range of internationalised curly quotes is<br>
difficult.<br>
<span class=""><br>
<br>
> Although most languages do not support these characters as quotation marks,<br>
> I believe that cPython should, if possible.<br>
<br>
</span>You say "most" -- do you know which programming languages support<br>
typographical quotation marks for strings? It would be good to see a<br>
survey of which languages support this feature, and how they cope with<br>
the internationalisation problem.<br>
<br>
I think this is likely to be just too hard. There's a reason why<br>
programming has standardized on the lowest common denominator for<br>
quotation marks '' "" and occasionally `` as well.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Steve<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/<wbr>codeofconduct/</a></div></div></blockquote></div><br></div>