【发布时间】:2018-08-26 13:36:58
【问题描述】:
我想用批处理文件在 chrome 中打开一个 URL。这适用于普通 URL,但不适用于带有变音符号的 URL。
start chrome.exe https://trends.google.de/trends/explore?q=mähroboter
我不能用“ae”代替“ä”,因为它会给我在 Google 趋势上的不同结果。
当我保持这种状态时,我浏览器中的 URL 变为
https://trends.google.de/trends/explore?q=mA4hroboter
这又给了我错误的结果。它必须是“ä”。
我尝试使用文件编码。目前 UTF8 没有 BOM。我尝试了带有 BOM、ANSI 的 UTF8,来回转换。似乎没有任何效果。我该怎么做才能让它发挥作用?
【问题讨论】:
标签: batch-file url encoding automation