Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><em>I think this is a deeper issue than you realize</em>. Simply changing the file from Unicode into ASCII is easy, however, getting all of the Unicode characters to translate into reasonable ASCII counterparts (many letters are not available in both encodings) is another.</p> <p>This Python Unicode tutorial may give you a better idea of what happens to Unicode strings that are translated to ASCII: <a href="http://www.reportlab.com/i18n/python_unicode_tutorial.html" rel="nofollow noreferrer">http://www.reportlab.com/i18n/python_unicode_tutorial.html</a></p> <p><strong>Here's a useful quote from the site:</strong></p> <blockquote> <p>Python 1.6 also gets a "unicode" built-in function, to which you can specify the encoding:</p> </blockquote> <pre><code>&gt; &gt;&gt;&gt; unicode('hello') u'hello' &gt; &gt;&gt;&gt; unicode('hello', 'ascii') u'hello' &gt; &gt;&gt;&gt; unicode('hello', 'iso-8859-1') u'hello' &gt; &gt;&gt;&gt; </code></pre> <blockquote> <p>All three of these return the same thing, since the characters in 'Hello' are common to all three encodings.</p> <p>Now let's encode something with a European accent, which is outside of ASCII. What you see at a console may depend on your operating system locale; Windows lets me type in ISO-Latin-1.</p> </blockquote> <pre><code>&gt; &gt;&gt;&gt; a = unicode('André','latin-1') &gt; &gt;&gt;&gt; a u'Andr\202' </code></pre> <blockquote> <p>If you can't type an acute letter e, you can enter the string 'Andr\202', which is unambiguous.</p> <p>Unicode supports all the common operations such as iteration and splitting. We won't run over them here.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload