Fixed accented characters replacement

and a few more compiler/static analyzer flags.