check if url needs utf-8 encoding