Correct checking config file with non ascii chars.