Sonar Violation:  Reliance on default encoding