Strip non-ascii characters and newlines