I'm sorry, I don't know how to determine that.
Edit the Project->Build options
close the project reopen it and look if the changes are there...
i am out of ideas.... The file encoding seems to be working, but the file reading is the problem... But it can read the XML documents, because otherwise you would not be able to open the project so file access is not the problem...
I have looked into the code and you fail in the
bool EncodingDetector::DetectEncoding(const wxByte* buffer, size_t size, bool convert_to_wxstring)
function...
I am not quite sure what path the code goes...
if (cfgMgr->ReadInt(_T("/default_encoding/use_option"), 0) == 1)
is false, because you are not getting
Warning: bypassing C::B's auto-detection!
so you go the mozilla detection route. There the first entry is
if (!buffer)
return false;
so if buffer is a 0 pointer you will never continue, so the pointer is valid...
But later it fails in
bool EncodingDetector::ConvertToWxString(const wxByte* buffer, size_t size)
with
if (!buffer || size == 0)
so there is really something wrong here... More error logging would help. But in the end only debugging can solve this...