【发布时间】:2020-12-21 09:09:22
【问题描述】:
对于我的工作流程,我需要用唯一的字符串替换重音字符(在流程的另一个步骤中重新替换)。
但在我当前的 Grep 规则中(在 InDesign 的 FindChangeList 中),这不能识别重音字母:
grep {findWhat:"é"} {changeTo:"!e"} //Doesn't do anything
验证:
grep {findWhat:"\/"} {changeTo:"\+"} //Does work: it replaces a slash with a plus sign.
grep {findWhat:"e"} {changeTo:"f"} //Does work, and does not replace é to f
【问题讨论】:
-
它对我来说绝对没问题,无论是文本还是 grep 搜索替换。您使用的是查找/更改对话框还是脚本 GREP?如果是对话,请确保清除查找格式,如果是脚本 - 重置 GREP/文本搜索首选项
-
将更改列表中的
é替换为其unicode 值\u00e9是否有效?如果是这种情况,您使用非标准编码保存了更改列表。
标签: replace grep adobe-indesign diacritics