Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC:

PDFFinder[Cyrillic text finding comply register] 7 years 9 months ago #10792

  • алелоз
  • алелоз's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi! Please help. I use this method for find text in PDF, but search works incorrect.
-(PDFFinder *)find:(NSString *)key :(bool)match_case :(bool)whole_word
{
PDF_FINDER hand = Page_findOpen( m_page, [key UTF8String], match_case, whole_word );
if( !hand ) return NULL;
return [[PDFFinder alloc] init:hand];
}
If key = "EnGLISH" the PDFFinder finds text = "english"
if key = "РусСКий" the PDFFinder NOT finds text = "русский"

What could be the problem?

Please Log in or Create an account to join the conversation.

PDFFinder[Cyrillic text finding comply register] 7 years 9 months ago #10798

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

can you share the pdf use to test the search feature?

Please Log in or Create an account to join the conversation.

PDFFinder[Cyrillic text finding comply register] 7 years 9 months ago #10799

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
match_case should be true, if match "EnGLISH", and not match "english"

Please Log in or Create an account to join the conversation.

PDFFinder[Cyrillic text finding comply register] 7 years 8 months ago #10944

  • алелоз
  • алелоз's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Try to find text = "ЗаДаЧа" and you can't find text = "задача". The problem is that search of Cyrillic text with different register not work

www.dropbox.com/s/3ex6qxpcue7rbih/ubk_1041070114f.pdf?dl=0

Please Log in or Create an account to join the conversation.

Last edit: by алелоз. Reason: link added

PDFFinder[Cyrillic text finding comply register] 7 years 8 months ago #10998

  • алелоз
  • алелоз's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Guys, please help. match_case = true. With English language no problem, with russian language search not worked correctly.

Please Log in or Create an account to join the conversation.

PDFFinder[Cyrillic text finding comply register] 7 years 8 months ago #10999

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Next week we will release a new version to fix match case with Russian char set.
We expect to release it on Wednesday.
The following user(s) said Thank You: алелоз

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum