<p></p>
<p>To be clear, Geany does not set a locale or read Windows settings.</p>
<p>The locale support in in the POSIX C runtime library does, see <a href="https://pubs.opengroup.org/onlinepubs/007904875/basedefs/xbd_chap08.html#tag_08" rel="nofollow">here</a> and Geany is a portable POSIX C application, not a windows only application.  If neither LANG or LC_ALL are set the default is usually "C" or "POSIX" which is set by Windows explicitly in the Windows libraries, half way down <a href="https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/setlocale-wsetlocale?view=msvc-160" rel="nofollow">this page</a> it says:</p>
<pre><code>At program startup, the equivalent of the following statement is executed:

setlocale( LC_ALL, "C" );
</code></pre>
<p>The use of environment variables happens within the POSIX C language libraries and is not under Geany's control.  You could argue that the Windows POSIX C runtime should fall back to the Windows setting, not "C", since its allowed to be implementation defined.  But you would have to take that up with Windows or the MSYS folks that provide the POSIX library Geany uses.</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/2831#issuecomment-865490414">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7ZRN5D6VV25BKH5QLTT74K7ANCNFSM47BDLEHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4G35KY3FJHUKOP6QDTT74K7A5CNFSM47BDLEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGOLFL3Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2831#issuecomment-865490414",
"url": "https://github.com/geany/geany/issues/2831#issuecomment-865490414",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>