Refactored Utility::realmNameToSlug() to not require patchwork/utf8.