Fixing source and target version and enconding.