<p></p>
<p dir="auto">I have many files on my webpage, which I wanted to standardize to utf-8. To automatically detect which ones contain problems I made a small script which detects the actual encoding (using <code>chardet</code> for the detection).</p>
<ul dir="auto">
<li>
<p dir="auto">A file containing the <code>ñ</code> is detected by <code>chardet</code> as ISO-8859-9 (as I understand it - correctly).</p>
</li>
<li>
<p dir="auto">The file contains a 0xF1 byte (coming from the ISO encoding or Latin-9)</p>
</li>
<li>
<p dir="auto">If I use <code>geany</code> to convert the document to UTF-8, the file doesn't seem to change (even though the tab changes to indicate the change). The 0xF1 is still present.</p>
</li>
</ul>
<p dir="auto">I suspect that geany (or the called library) doesn't feel 0xF1 is <em>not</em> utf-8, hence doesn't translate it.</p>
<p dir="auto">Is there any work-around?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/3141">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZYEI7M6P7CUTCVRBDVCG2MVANCNFSM5R3HC33Q">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJYMRMZ7W2P7JQ6FWK3VCG2MVA5CNFSM5R3HC332YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4RUKM6FA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/issues/3141</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/3141",
"url": "https://github.com/geany/geany/issues/3141",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>