<p></p>
<p>v.1.37.1 on Win 10 (latest updates).</p>
<p>Steps to reproduce:</p>
<ol>
<li>Create new text file tmp.txt.</li>
<li>Add "Lorem ipsum dolor sit amet," to the body and save.</li>
<li>(Optionally confirm UTF-8 encoding, this does not seem to be an internal encoding issue.)</li>
<li>(Optionally -- reopen file to confirm it is working as expected.)</li>
<li>Close file and rename to tmp子.txt (or several other Chinese characters... or hangul, such as tmp점.txt... maybe any non-latin?)</li>
<li>(Optional: Confirm notepad.exe can open file and display contents.)</li>
<li>Open file.</li>
</ol>
<p>Expected:<br>
See original lorem input.</p>
<p>Actual:<br>
See empty file.<br>
(Can confirm encoding unchanged here.)</p>
<h2>7b. Attempt to edit and save:</h2>
<h2>Error</h2>
<p>Error saving file.<br>
Error opening file “</p>\tmp?.txt”: Input/output error<p></p>
<h2>The file on disk may now be truncated!</h2>
<h2>OK</h2>
<ol start="8">
<li>Close file without save.</li>
<li>Rename file to just "tmp.txt". Open file, see original input.</li>
</ol>
<p>I searched for existing issues but might not have used the right keywords, sorry if this is a duplicate.</p>
<p>Hope this is helpful. Thanks for a great program!</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/2748">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZEEEJVWSDKMI6BUGLS6B44NANCNFSM4XJ7HISA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5NPIM5MQX3XDWAOB3S6B44NA5CNFSM4XJ7HISKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4L7NGSRA.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/2748",
"url": "https://github.com/geany/geany/issues/2748",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>