Glyph & Cog, LLC
search:  
 
     


Home
Products
Services
Tips & Misc
Buy
Tech Support
Company
Contact
 

Why does the copySelection function in XpdfViewer drop non-Latin characters?

Applies to: XpdfViewer

You need to set the text encoding to UCS-2:

viewer.textEncoding = "UCS-2"

(The default encoding is "Latin1", for backward compatibility reasons).

 
   
    Copyright 2008 Glyph & Cog, LLC