Fixed really invalid byte case for validating UTF-8
Check for more user environment functions in config