Strip weird chars from entities.