http://www.perlmonks.org?node_id=950871


in reply to Re: how to add special characters in postscript file
in thread how to add special characters in postscript file

Hi

In the postscript file I have added some accented characters as below using perl script

[/Subtype /Caret /Contents ("Zarduáμăšt argues ka man ahōš be kunēh ciyōn … and following, these are direct quotes so should be in quote marks ? \(I have put the translations in brackets, ok?\) please also check below") /Rect 7741 9285 7988 9068 /Title (Original Text) /Subj (Deleted Text) /Border 0 0 0 /Color 0 0 1 /ANN pdfmark

and converted it to PDF using Adobe distiller, it comes as below in the PDF

"Zarduáμąšët argues ka man ahÅ“Å¡ be kunÄfih ciyÅ“n ╦ and following, these are direct quotes so should be in quote marks ? (I have put the translations in brackets, ok?) please also check below"

I hope it makes as clear about my problem.

Thanks

Srikrishnan

  • Comment on Re^2: how to add special characters in postscript file

Replies are listed 'Best First'.
Re^3: how to add special characters in postscript file
by rovf (Priest) on Feb 01, 2012 at 09:52 UTC
    If you suspect that the bug is in the Perl program, I suggest that you hexdump your postscript file and check, whether the characters are represented by the correct bit pattern; maybe it is an encoding problem.

    If this is the case, please post here in a small example, how you generate the postscript code, what bit pattern you would expect in the postscript file, and what bit pattern you actually got.

    -- 
    Ronald Fischer <ynnor@mm.st>
      Any solution got for the issue. please update