I figured it out, its three bugs here on win32

#!/usr/bin/perl -- use utf8; binmode STDOUT, ':encoding(UTF-8)'; binmode $DB::OUT, ':encoding(UTF-8)' if $DB::OUT; our $junk = "\x{5ff}\x{5ff} \x{25c4} \x{2663} \x{2665} \x{2663} \x{25b +a} \x{5ff}\x{5ff}"; $junk .= "$junk\n"; print $junk;

$junk .= "׿׿ ◄ ♣ ♥ ♣ ► ׿׿\n";

the padre output pane, doesn't show any output when you run (or debug) the file you're editing

If you binmode STDOUT, that still leaves $DB::OUT to get binmoded (bug in debugger)

The "Debug Output" pane is not unicode aware, or the filehandle its reading from hasn't been binmoded to decode utf8, so what gets displayed correctly in the editor pane (the heart, clovers, and triangles above) doesn't in the "Debug Output" pane

Oh, and when pasting/posting to perlmonks with firefox, firefox flips the triangles around, they were originally like this

$junk .= "׿׿ ► ♣ ♥ ♣ ◄ ׿׿\n";


In reply to Re^4: Padre: how to view/examine Unicode strings in the debugger? by Anonymous Monk
in thread Padre: how to view/examine Unicode strings in the debugger? by HelenCr

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.