Ensure CharacterData.data is initialized with a string.