<h1>Abstract</h1>
<p>When naming a variable something that isn't ASCII, but is still a valid Python3 identifier, the variable doesn't show up in the symbols list.</p>
<h2>Problem Info</h2>
<h3>Test case:</h3>
<div class="highlight highlight-source-python"><pre><span class="pl-c">#!/usr/bin/env python3</span>
<span class="pl-c"># coding: utf-8</span>

correct <span class="pl-k">=</span> <span class="pl-c1">bool</span>()
对不对<span class="pl-k">=</span><span class="pl-s"><span class="pl-pds">'</span>对<span class="pl-pds">'</span></span> <span class="pl-k">if</span> correct <span class="pl-k">else</span> <span class="pl-s"><span class="pl-pds">'</span>错<span class="pl-pds">'</span></span></pre></div>
<p>Load up that file in Geany, then open the Symbols tab.</p>
<h3>What I expected to see</h3>
<p>"correct" and "对不对" both show up in the Symbols list.</p>
<h3>What happened</h3>
<p>Only "correct" shows up in the Symbols list.</p>
<h2>Extra info</h2>
<ol>
<li>geany 1.27 (built on 2016-04-17 with GTK 2.24.30, GLib 2.48.0)</li>
<li>OS: Ubuntu 16.04.1 LTS</li>
</ol>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1337">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ-OqZjyi3oMK5S7qNuuKj3DMGzAzks5rHGnSgaJpZM4LKCis">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ4FZndcfuUxK-T--MaeEdPVBF-_dks5rHGnSgaJpZM4LKCis.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1337"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Symbols with non-ASCII Unicode names are not detected by \"Symbols\" (#1337)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1337"}}}</script>