Highlighted

Findchangebylist local characters

Explorer ,
Nov 04, 2020

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by brianp311 | Adobe Community Professional

You can search for the Unicode equivalents: 

\\x{00E6}

 

For instance.

TOPICS
Scripting

Views

136

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Findchangebylist local characters

Explorer ,
Nov 04, 2020

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by brianp311 | Adobe Community Professional

You can search for the Unicode equivalents: 

\\x{00E6}

 

For instance.

TOPICS
Scripting

Views

137

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 04, 2020 0
Adobe Community Professional ,
Nov 04, 2020

Copy link to clipboard

Copied

You can search for the Unicode equivalents: 

\\x{00E6}

 

For instance.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 04, 2020 0
Adobe Community Professional ,
Nov 04, 2020

Copy link to clipboard

Copied

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 )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 04, 2020 0
Adobe Community Professional ,
Nov 04, 2020

Copy link to clipboard

Copied

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/1140...

-Manan

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 04, 2020 0
Explorer ,
Nov 04, 2020

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 04, 2020 0
Adobe Community Professional ,
Nov 04, 2020

Copy link to clipboard

Copied

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

-Manan

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 04, 2020 0
Adobe Community Professional ,
Nov 04, 2020

Copy link to clipboard

Copied

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 )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 04, 2020 0
Explorer ,
Nov 04, 2020

Copy link to clipboard

Copied

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

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 04, 2020 0
Adobe Community Professional ,
Nov 04, 2020

Copy link to clipboard

Copied

Hi Thomas,

hm; best stay with your Unicode solution.

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 04, 2020 0