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).