Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启用「谷歌翻译」把日文翻为英文的字串输出问题 #95

Closed
kalestorm123 opened this issue Mar 11, 2020 · 2 comments
Closed
Projects

Comments

@kalestorm123
Copy link

kalestorm123 commented Mar 11, 2020

我开启「谷歌翻译」的API,翻译语种从zh-CN改为en。

结果双引号" 会输出成字串&quot附加分号,单引号' 会输出成字串&#39附加分号,如下图所显示,请问该怎样解决?

版本是YUKI minori v0.14.1,有配置区域转换器localEmulator,执行日语编码的游戏。

更新: 我又试了 AZURE API 从日文翻成英文,不会出现同样情况。另外換了別的遊戲試試,不管開不開localEmulator 都會變成&quot附加分号。

image

@tinyAdapter tinyAdapter added this to To do in v0.14.2 Apr 26, 2020
@tinyAdapter
Copy link
Member

我大概猜得到原因在哪里,只有谷歌的API是直接解析HTML得到的,而HTML中对于这些符号都是要进行转义的

下一版应该会修复

@tinyAdapter tinyAdapter moved this from To do to In progress in v0.14.2 May 25, 2020
@tinyAdapter tinyAdapter moved this from In progress to Done in v0.14.2 May 25, 2020
@tinyAdapter
Copy link
Member

v0.14.2已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v0.14.2
  
Done
Development

No branches or pull requests

2 participants