View Single Post
03-07-14, 09:15 AM   #8
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
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 View Post
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 )
  Reply With Quote