Skip to main content
Inspiring
November 4, 2020
Answered

Findchangebylist local characters

  • November 4, 2020
  • 4 replies
  • 616 views

Im making my own finchangebylist script, however I am finding that using norwegian characters (æøå) doesnt work with findchangebylist. Is there a fix for this?

This topic has been closed for replies.
Correct answer brian_p_dts

You can search for the Unicode equivalents: 

\\x{00E6}

 

For instance.

4 replies

Community Expert
November 4, 2020

Hi Thomas,

hm; best stay with your Unicode solution.

 

Regards,
Uwe Laubender

( ACP )

Community Expert
November 4, 2020

Hi Thomas,

also: Can you show a snippet of the list where are you using the "special" characters?

I'd like to test something with my German InDesign.

 

BTW: What's your version of InDesign on what operating system?

 

Thanks,
Uwe Laubender

( ACP )

Inspiring
November 4, 2020

Here is the part of the list. I actually alreado solved it using unicode, but if you have a solution that doesnt involve unicode I would prefer that. Im likely to do a lot of find change scripting in the near future.

 

My OS is catalina 10.15.7 (latest) and indesign 16 (latest). Obviously using a mac.

 

grep {findWhat:"[0-1][0-9]-20 min"} {changeTo:"Rask å lage"} {includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:false, includeFootnotes:false, kanaSensitive:true, widthSensitive:true, searchBackwards:false} //Comment

 

Community Expert
November 4, 2020

See the following discussion. In addition to what Brian mentioned, you can use the characters literally in the FindChangeList file as well. You just need to make sure that the encoding of the file is proper.

https://community.adobe.com/t5/indesign/make-findchangebylist-work-for-accented-characters/td-p/11404392?page=1

-Manan

-Manan
Inspiring
November 4, 2020

I need to convert the .jsx file or the .txt file or both? And how would I do that? I have a mac.

Community Expert
November 5, 2020

The text file. You code use editors like VScode, they give the option to change the encoding of a file easily.

-Manan

-Manan
brian_p_dts
Community Expert
brian_p_dtsCommunity ExpertCorrect answer
Community Expert
November 4, 2020

You can search for the Unicode equivalents: 

\\x{00E6}

 

For instance.

Community Expert
November 4, 2020

For all lurkers: The encoding scheme Brian gave in his post is for GREP Find/Replace.

It would be different for TEXT Find/Replace.

 

I assume, not tested, the equivalent for TEXT Find/Replace would be:

<00E6>

 

Brian, please correct me, if I'm wrong.

 

Thanks,
Uwe Laubender

( ACP )