/Engine/Source/Developer/Localization/Public/LocTextHelper.h
Sanitize any output from the given string that may cause the build machine to generate erroneous errors.
static [FString](API\Runtime\Core\Containers\FString) SanitizeLogOutput ( FStringView InString )