Add debug output message when encoding is not detected