• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Findchangebylist local characters

Explorer ,
Nov 04, 2020 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?

TOPICS
Scripting

Views

352

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
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 04, 2020 Nov 04, 2020

You can search for the Unicode equivalents: 

\\x{00E6}

 

For instance.

Votes

Translate

Translate
Community Expert ,
Nov 04, 2020 Nov 04, 2020

Copy link to clipboard

Copied

You can search for the Unicode equivalents: 

\\x{00E6}

 

For instance.

Votes

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
community guidelines
Community Expert ,
Nov 04, 2020 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 )

Votes

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
community guidelines
Community Expert ,
Nov 04, 2020 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

Votes

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
community guidelines
Explorer ,
Nov 04, 2020 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.

Votes

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
community guidelines
Community Expert ,
Nov 04, 2020 Nov 04, 2020

Copy link to clipboard

Copied

LATEST

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

-Manan

Votes

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
community guidelines
Community Expert ,
Nov 04, 2020 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 )

Votes

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
community guidelines
Explorer ,
Nov 04, 2020 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

 

Votes

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
community guidelines
Community Expert ,
Nov 04, 2020 Nov 04, 2020

Copy link to clipboard

Copied

Hi Thomas,

hm; best stay with your Unicode solution.

 

Regards,
Uwe Laubender

( ACP )

Votes

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
community guidelines