Originally Posted by Dridzt
... it also needs to strip out apostrophes and I'm not sure for the realms with special characters in their name (some French, Italian and Portuguese/Brazilian)
|
This is incorrect. At least on EU realms, apostrophes are included in the realm names as passed with CHAT_MSG_* events and returned by UnitFullName.
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.