<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[What&#x27;s a good way to detect file encoding in python that&#x27;s not chardet?]]></title><description><![CDATA[<p>What's a good way to detect file encoding in python that's not chardet?</p><p>Really it's just to identify latin1 or similar, so perhaps I should just replace it with some specialized logic for that.</p><p><a href="https://helvede.net/tags/python" rel="tag">#<span>python</span></a></p>]]></description><link>https://forum.fedi.dk/topic/bed8d146-b089-40fa-b3c1-07199be19d35/what-s-a-good-way-to-detect-file-encoding-in-python-that-s-not-chardet</link><generator>RSS for Node</generator><lastBuildDate>Sat, 27 Jun 2026 20:29:23 GMT</lastBuildDate><atom:link href="https://forum.fedi.dk/topic/bed8d146-b089-40fa-b3c1-07199be19d35.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Jun 2026 15:50:23 GMT</pubDate><ttl>60</ttl></channel></rss>