<p>You are wellcome!<br>
The geany.conf file has UTF-8 encoding. I can open it in geany, then force it to reopen as exactly UTF8 and after that I see the <code>last_dir</code> value correctly, without any quotation marks or other broken chars. The system has UTF8 locale and never had any other. Actually the locale is <code>ru_UA.utf8</code>.<br>
As I wrote before, <code>LANG=ru_UA geany</code> works fine, and <code>LANG=ru_UA.utf8 geany</code> or simply <code>geany</code> causes CPU load with the appropriate <code>last_dir</code> setup. So what kind of conversion is being performed in my case? Between <code>utf8</code> and <code>ru_UA.utf8</code>? Could it fail?</p>

<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/1252#issuecomment-252487342">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ7mFqgYAa6tlSTJ1-eg5PsiWoEX4ks5qyPChgaJpZM4KMgU0">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ17JA2WIBRuZIWej2IoM2Jh1xqBMks5qyPChgaJpZM4KMgU0.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/1252#issuecomment-252487342"></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":"PERSON","message":"@programmador in #1252: You are wellcome!\r\nThe geany.conf file has UTF-8 encoding. I can open it in geany, then force it to reopen as exactly UTF8 and after that I see the `last_dir` value correctly, without any quotation marks or other broken chars. The system has UTF8 locale and never had any other. Actually the locale is `ru_UA.utf8`.\r\nAs I wrote before, `LANG=ru_UA geany` works fine, and `LANG=ru_UA.utf8 geany` or simply `geany` causes CPU load with the appropriate `last_dir` setup. So what kind of conversion is being performed in my case? Between `utf8` and `ru_UA.utf8`? Could it fail?"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1252#issuecomment-252487342"}}}</script>