14 September 2011 6:08
When I issue the following request:
I get the following response
Furthermore when I try to use the "detect" operation I get an "en" answer. Could it be that I need to issue a WebHttpRequest ensuring that the encoding is unicode in order for this to work or is there an issue with arabic characters when using the translator service?
Thanks in advance!
16 September 2011 18:56Pemilik
the API expect the text in a URL-encoded UTF-8 string.
19 September 2011 7:45
Hmm, my "gut feeling" said something similar and I'm glad that you confirmed it;) So far I've just tested it through HTTP-requests through the web-browser. As soon as I get the time to make a quick C#-hack I'll let you know about my findings.
19 September 2011 8:13Pemilik
using C#, the SOAP interface is more appropriate for you. Just add http://api.microsofttranslator.com/v2/soap.svp as a web reference, and programming against the API is as easy as pie.
19 September 2011 8:16
Good stuff Chris and thanks for the recommendation as this makes it waaaaaaaaaay easier to use it:)