Grep替换é,ü,ï等

问题描述

对于我的工作流程,我需要用唯一的字符串替换带重音符号的字符(在过程的另一步骤中将其替换)。

但是在我当前的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

解决方法

您是否在更改前后清理首选项?

app.findGrepPreferences = app.changeGrepPreferences = null;

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...