Refactored non-ascii deletion