0
Google 번역 API를 사용하여 텍스트를 영어에서 독일어로 번역하고 있습니다. 내가 사용하고 코드는 다음과 같습니다Google의 번역 API에서 응답을받을 때 인코딩이 잘못 되었나요?
string url = String.Format("http://www.google.com/translate_t?hl=en&ie=UTF8&text={0}&langpair={1}", TxtEnglish.Text, Constants.LanguagePair);
WebClient webClient = new WebClient();
webClient.Encoding = System.Text.Encoding.UTF8;
webClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(TextTranslation_DownloadStringCompleted);
webClient.DownloadStringAsync(new Uri(url));
e.Result
....... 원본의 응답을 수신에 : 당신이 나를 도와 드릴까요? können Sie mir helfen
결과 e.Result
에서 :
는 번역가 페이지의 독일어 텍스트 번역이 ""특수 문자가 오는 이유 k�nnen Sie mir helfen
그래서
이, PLZ 알려 도움을 내가 어떻게이 문제를 해결 할 수 있습니다?