in reply to Re^3: The Queensrÿche Situation
in thread The Queensrÿche Situation

I can actually answer this now :) Take a look below, hopefully that will clear it up.
#!/usr/bin/env perl use strict; use warnings; use Encode; binmode STDOUT, ":utf8"; my $string = qq(Queensrÿche); print qq($string\n); Encode::is_utf8($string)? print " - is utf8\n" : print " - is not utf8 +\n"; use utf8; $string = qq(Queensrÿche); no utf8; print qq($string\n); Encode::is_utf8($string)? print " - is utf8\n" : print " - is not utf8 +\n";
Ouput:
Queensrÿche - is not utf8 Queensrÿche - is utf8

Replies are listed 'Best First'.
Re^5: The Queensrÿche Situation
by karlgoethebier (Abbot) on Oct 21, 2014 at 07:56 UTC
    "...hopefully that will clear it up."

    Thank you Rodster001 for your reply.

    Unfortunately this doesn't explain why the One-Liner prints correctly.

    But perhaps i got yet another mental block ;-)

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»