Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: Extracting bookmark title which includes special characters

$
0
0

Thanks for your response.

I am using below code to get title.

char szBuf [ 1024 ];
char szHost [ 1024 ];
memset( szBuf,  '\0', sizeof( szBuf  ) );
memset( szHost, '\0', sizeof( szHost ) );

ASInt32 asiLen = PDBookmarkGetTitle ( rpdBkm, szBuf, sizeof( szBuf ) );
 

ASInt32 asiRet = PDXlateToHostEx ( szBuf, asiLen, szHost, sizeof( szHost ) );

if( asiRet >= 0 )
  szHost[ asiRet ] = '\0';

rcsTitle = szHost;

Using cos method or PDBookmarkGetTitle, I have to PDXlateToHostEx to get exact bookmark title. But am not getting special character like ≠, ≥, ≤, β, ℗ in bookmark title. It shows . or ? in place of this characters.

Please help me to solve the issue.

Thanks,

Sow


Viewing all articles
Browse latest Browse all 10848


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>