Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: UTF8 Output with XML::Feed? (use utf8)by LanX (Saint) |
on Mar 07, 2022 at 20:02 UTC ( [id://11141894]=note: print w/replies, xml ) | Need Help?? |
I can't comment on XML::Feed, sorry. But ... > Adding use utf8; was one of the first things I tried. ... if your source-code is in utf8 (check your editor settings) and you have a line like my $t='abc...едц'; you must apply use utf8; Otherwise Perl will not know how to decode the bytes in that string, because the interpretation is not obvious. You should clarify this, before meddling with XML. Here a demo you should run: OUTPUT:
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|