Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
We don't know exactly what you are trying to do, and seemingly irrelevant details are very important.

The fundamental problem has to do with encodings. ASCII proper only encodes things in the top 127 encodings. The representation of the remaining 128 things that fit in a byte is unspecified. Unfortunately the first approach to handling extra characters which are not in ASCII was to use the top 128 in different ways. Each way is different. And, for instance, in Windows the default way to handle those characters within a DOS prompt differs from what is is in a default Windows application. (And just what is shown may depend on the locale that you chose.) Just to confuse things, Windows cut and paste is designed to keep the visible characters the same, even when you change the representation. So if you see it in a Windows application, then cut and paste it into a script that you then show in a DOS prompt, you may see something very different from what you cut and pasted.

So our problem is that we don't know what operating system you are on, where the Cyrillic text is coming from, how you are getting it into your Perl, and where you're looking at the output in. Every single one of these factors can affect the answer. (Yes, Unicode is supposed to solve this problem. The last time that I cared - which was several years ago - DOS prompts did not properly support UNICODE. I'm guessing that you're seeing the output of Perl in a DOS prompt...)


In reply to Re: CAM::PDF encoding by tilly
in thread CAM::PDF encoding by IvDiS

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (15)
    As of 2014-07-31 17:12 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (249 votes), past polls