cleanup HTTP_USER_AGENT from non UTF-8 characters