New empty file is not a text/plain file
Save a new empty file (without write anything at this, encoding utf-8 and others) from application or create a new empty document from thunar. The new empty file in both cases is not a text/plain file but is an application/x-zerosize file. I don't know if this is a bug or new feature. Arch - mousepad 0.6.0