diff --git a/[core]/es_extended/shared/functions.lua b/[core]/es_extended/shared/functions.lua index 71e1390e..a5da44c8 100644 --- a/[core]/es_extended/shared/functions.lua +++ b/[core]/es_extended/shared/functions.lua @@ -186,6 +186,10 @@ function ESX.IsValidLocaleString(str, allowDigits) return false end + if not utf8.len(str) then + return false + end + local locale = string.lower(Config.Locale) local defaultRanges ={