I'm not sure what you're expecting from printing non-characters. Switching to Dump shows the right output is returned:
SV = PV(0x98d16d0) at 0x98d4760 REFCNT = 1 FLAGS = (TEMP,POK,pPOK,UTF8) PV = 0x99243c0 "\320\200\340\240\200\341\200\200\342\200\200\344\200 +\200\350\200\200\360\220\200\200\360\240\200\200\361\200\200\200\362\ +200\200\200"\0 [UTF8 "\x{400}\x{800}\x{1000}\x{2000}\x{4000}\x{8000}\ +x{10000}\x{20000}\x{40000}\x{80000}"] CUR = 33 LEN = 36

Note that you need the latest version. 1.0 only supported string of bytes in the 8-bit string format.


In reply to Re^43: Interleaving bytes in a string quickly by ikegami
in thread Interleaving bytes in a string quickly by BrowserUk

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.