Support for selection with special characters added