Solved without dummy encodings
Add exception for dummy encodings
Clean up formatting