"%"在翻译字符串中停止字符 [英] "%" stop character in Translate string
本文介绍了"%"在翻译字符串中停止字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将要翻译的文本发送到Translate API时,会出现"%"。文本字符串中的字符似乎是一个停止字符 - 字符串的其余部分未翻译。 我已经以纯文本和URIEncoded发送了字符串,它似乎没有使
产生任何差异。 我错过了什么?
解决方案
我尝试了一些简单的句子,例如
'这是一个测试%你好,世界'
他们工作得很好......
你有一个失败判决的例子吗?
When sending a text to be translated to the Translate API, a "%" character in the text string seems to be a stop character - The rest of the string is not translated. I've sent the string both in plain text and URIEncoded and it doesn't seem to make any difference. What am I missing?
解决方案
I tried a few simple sentences such as
'This is a test% hello, world'
and they worked fine...
Do you have an example of a failing sentence?
这篇关于"%"在翻译字符串中停止字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文