且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

"%"在翻译字符串中停止字符

更新时间:2022-10-19 23:24:11

我尝试了一些简单的句子,例如


'这是一个测试%你好,世界' 


他们工作得很好......


你有一个失败判决的例子吗?


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?