Skip to main content
Participant
June 4, 2023
Question

Problem with Search bar PDF document (for arabic text)

  • June 4, 2023
  • 0 replies
  • 234 views

Hello, I've created a search bar in Adobe Acrobat using the method in the video below 

https://www.youtube.com/watch?v=wogu8TNUJ8I&ab_channel=BrandonBoas

 

and used this Java code included in the video

 

var textToSearch = this.getField("Search Term").valueAsString; if (textToSearch!="") search.query(textToSearch, "ActiveDoc");

 

However, my document is in Arabic Language and when I search a word in Arabic it doesnt show and instead turns into dots in the search bar... and it works comletely fine with English words..

 

Does anyone know how to fix this issue? Is there a way to make it recognize Arabic language using Java ?

 

Thanks in advance!

This topic has been closed for replies.