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

Re: Getting PDF filename with unicode chars

$
0
0

You were right, the plugin was getting a char* from ASFileSysDisplayStringFromPath. I removed that and added this which seems to have fixed my problem:

 

ASText pathText = ASTextNew();

ASFileSysDisplayASTextFromPath(ASGetDefaultFileSys(), filePath, pathText);

wchar_t *pathString = (wchar_t*)ASTextGetUnicode(pathText);

 

Thank you!


Viewing all articles
Browse latest Browse all 10848

Trending Articles



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