I don't know why but UnitFullName("player") sometimes returns NIL if called just after the VARIABLES_LOADED event, so I finally use GnomeTEC function :
Code:
shortenedSeverName = string.gsub(GetRealmName(), "%s+", "")
Originally Posted by Phanx
I couldn't find anyone with a non-ASCII character, and didn't feel like going and making a character on a FR/IT/PT realm to check, but I suspect they are also used as-is in-game.
|
Realm "Confrérie du Thorium" is shortened in "ConfrérieduThorium" (which means Thorium brotherhood
)