As soon as I realized it was not a drop-in replacement
Forgive me for jumping to conclusions, but did you follow the SYNOPSIS ?

Specifically, in that Test::More::UTF8 was not written as a replacement but as an addendum . And thus, as the SYNOPSIS shows, you need to use both Test::More and Test::More::UTF8 .

I think it was the "is" and "isnt" functions that are used for the tests.

The error that it couldn't find "is" and "isnt", added to your phrasing of "drop-in replacement", is highly indicative that you did not include both modules, but tried to only use Test::More::UTF8; which is not sufficient for running tests.

Back when you were first asking about it, and that module was recommended for you, I was curious how it was doing the UTF-8 magic in a way that was different from the failed attempts, so I looked at its source: essentially, it just sets a few UTF-8 flags on the internal filehandles that the Test::More behind-the-scenes framework uses, and sets use utf8 for your script (unless you ask it not to). It's not defining any of the test functions (like is or isnt), and it relies on the underlying framework already existing so that it can modify flags (otherwise, it has no flags to modify).

On the filehandles: it apparently has its own handles instead of just using the plain-jane STDIN/STDOUT/STDERR, which is why your earlier attempts to set the binmode for the standard filehandles didn't help.


In reply to Re^9: Listing out the characters included in a character class [wide character warning] by pryrt
in thread Listing out the characters included in a character class by Polyglot

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.