<?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[How does NP++ determine the character set?]]></title><description><![CDATA[<p dir="auto">I am in the midst of writing a system that reads in a binary file, allows the user to change a very limited set of values in known locations, and then writes it back out again. This system is mostly working, except for strings.</p>
<p dir="auto">Whenever I have a problem with strings, the first thing I do is open the file, even binary, in NP++. This immediately revealed… something. I know that there is one of these strings near the top of the file and it reads “THINGY”, so I searched for it and immediately found it.</p>
<p dir="auto">I then opened the original file, the template so to speak, and that string was not there. In fact, all the characters in the file were in some other encoding. So I suspect what has happened is that there is some sort of encoding indicator somewhere in the file that I am failing to set properly.</p>
<p dir="auto">So, finally, the question: how does NP++ determine what character set encoding to use when you open a file?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/12603/how-does-np-determine-the-character-set</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 22:42:43 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12603.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Oct 2016 17:36:44 GMT</pubDate><ttl>60</ttl></channel></rss>