Adds option to replace default undefined character