Fix typo in typeName

Fix Sdatetimeoffset typo in GetTargetName()
Force generated file encoding in UTF-8 to avoid issues with accented characters in comments