Daily Shaarli

All links of one day in a single page.

December 3, 2020

unicode - How can I output UTF-8 from Perl? - Stack Overflow
thumbnail

use utf8; does not enable Unicode output - it enables you to type Unicode in your program. Add this to the program, before your print() statement:

binmode(STDOUT, ":utf8");

See if that helps. That should make STDOUT output in UTF-8 instead of ordinary ASCII.