<p><a href="https://github.com/eht16" class="user-mention">@eht16</a> </p>

<p>I've noticed the following: </p>

<ul>
<li>when a source file with non-english filename is in english-name folder: <code>geany_run_script_....bat</code> created ok, but on Windows it has UTF-8 W/BOM encoding and it conflicts with CP866 (default console codepage for Cyrillic Windows); if I add <code>chcp 65001</code> at the beginning of <code>geany_run_script_....bat</code>, it'll run ok; Maybe your's console codepage doesn't have conflicts with UTF-8 W/BOM;</li>
<li>when a source file with non-english filename is in non-english folder, <code>geany_run_script_....bat</code> is not created at all and Geany asks to check Terminal settings.</li>
</ul>

<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/1278#issuecomment-258993938">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ6naSknXdd31I1MxFLwGQ0DYLyhQks5q77BOgaJpZM4KhB7i">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ9IzR1ZZGHrdssa3cS_SQG2N3IBNks5q77BOgaJpZM4KhB7i.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/1278#issuecomment-258993938"></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":"@YuriPetrov in #1278: @eht16 \r\n\r\nI've noticed the following: \r\n\r\n- when a source file with non-english filename is in english-name folder: `geany_run_script_....bat` created ok, but on Windows it has UTF-8 W/BOM encoding and it conflicts with CP866 (default console codepage for Cyrillic Windows); if I add `chcp 65001` at the beginning of `geany_run_script_....bat`, it'll run ok; Maybe your's console codepage doesn't have conflicts with UTF-8 W/BOM;\r\n- when a source file with non-english filename is in non-english folder, `geany_run_script_....bat` is not created at all and Geany asks to check Terminal settings."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1278#issuecomment-258993938"}}}</script>