in reply to how to add special characters in postscript file

It's not clear how this is related to Perl. Maybe you could elaborate a little bit more?

-- 
Ronald Fischer <ynnor@mm.st>

Replies are listed 'Best First'.
Re^2: how to add special characters in postscript file
by srikrishnan (Beadle) on Jan 31, 2012 at 03:46 UTC

    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

      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