"For what it's worth, the following appears to produce only a blank line."
Please go back and (re)read the utf8 documentation; paying particular attention to the very clear and emboldened directive:
Do not use this pragma for anything else than telling Perl that your script is written in UTF-8.
The code you presented only contains 7-bit ASCII characters.
You got what appeared to be a blank line. Here are some things you could have tried:
$ perl -e 'print "\N{LATIN SMALL LETTER A WITH RING ABOVE}\n";' $ perl -e 'print "|\N{LATIN SMALL LETTER A WITH RING ABOVE}|\n";' | | $ perl -C -e 'print "\N{LATIN SMALL LETTER A WITH RING ABOVE}\n";' å $ perl -e 'use open OUT => qw{:encoding(UTF-8) :std}; print "\N{LATIN +SMALL LETTER A WITH RING ABOVE}\n";' å
See: perlrun for -C; and, the open pragma.
— Ken
In reply to Re^3: UTF8 Output with XML::Feed? (use utf8)
by kcott
in thread UTF8 Output with XML::Feed?
by mldvx4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |