Well, I'm 99.99% sure I wasn't confused. Basically, I developed under 5.6.1/5.8.4 on the laptop. 5.8.4 passed the test with 'use utf8', and 5.6.1 failed it with utf8 loaded until I removed it; then 5.6.1 passed without it.

I checked the source into SVN and checked it out on the the desktop upstairs. 5.8.4 passed with utf8. 5.6.1 on the desktop FAILED the test without use utf8. So, I put utf8 back in for 5.6.1 and it too passed. I checked in to SVN and went back downstairs to the laptop.

I checkout out the SVN on the laptop. 5.6.1 failed with utf8 loaded, and 5.8.4 passed. I removed utf8 from that test and 5.6.1 now passed. Rinse, Lather, Repeat.

Thus far, these things are the same between the laptop and desktop: XP SP2, ActiveState Perl 5.6.1.630, Class::DBI, DBI, Error, Locale::Maketest, I18N::LangTags, and Win32::Locale, Test::Simple.

This is why the plea for help. Nothing is standing out as a reason why use utf8 make string compares fail from one install to the next. Should I even be using utf8 in the test, or just in the language files that actually have UTF8 text in the %Lexicon source?


In reply to Re^2: Test::* vs. utf8 pragma by jk2addict
in thread Test::* vs. utf8 pragma by jk2addict

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.