private static URL url(String str) {
	try {
	    str = URLEncoder.encode(str, ENCODING);
	} catch (UnsupportedEncodingException e) {
	    return null;
	}
	URL url = null;
	try {
	    url = new URL(apiurl + apikey + "&target=" + lang + "&q=" + str);
	} catch (MalformedURLException e) {
	    return null;
	}
	return url;
    }