双引号的问题 [英] problems with double-quotes
问题描述
http://api.microsofttranslator.com/V2/Ajax.svc/Translate?appId= [数字]&安培;的onComplete = translateHandler&安培;从= EN&安培;要= RU&安培;文本=%22test%22% 20red
http://api.microsofttranslator.com/V2/Ajax.svc/Translate?appId=[number]&oncomplete=translateHandler&from=en&to=ru&text=%22test%22%20red
结果:"反序列化System.String类型的对象时出错。遇到意外字符'r'。"
result: "There was an error deserializing the object of type System.String. Encountered unexpected character 'r'."
http://api.microsofttranslator.com/V2/Ajax.svc/Translate?appId = [number]& oncomplete = translateHandler& ; from = en& to = ru& text =%22test%22%20test
http://api.microsofttranslator.com/V2/Ajax.svc/Translate?appId=[number]&oncomplete=translateHandler&from=en&to=ru&text=%22test%22%20test
result:"反序列化System.String类型的对象时出错。令牌'true'是预期的但是找到'test'。"
result: "There was an error deserializing the object of type System.String. The token 'true' was expected but found 'test'."
推荐答案
示例:
http ://sdk.microsofttranslator.com/AJAX/Translate.aspx
sample:
http://sdk.microsofttranslator.com/AJAX/Translate.aspx
尝试翻译文字:
~~~~~~~~ b $ b"测试"红色$
~~~~~~~~
try translate text:
~~~~~~~~
"test" red
~~~~~~~~
没有结果。日志会显示:
no result will be. Logs will show:
"There was an error deserializing the object of type System.String. Encountered unexpected character 'r'."
这篇关于双引号的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!