Encoding change. Fix a lot of warnings