How does printing Unicode on Windows interact with Unicode and encodings?

Perl provides excellent support for Unicode, but on Windows, there are special considerations for output to the console. This document covers basic techniques to print Unicode characters correctly.
Perl, Unicode, Windows, Encoding, Output
#!/usr/bin/perl
use strict;
use warnings;
use utf8; # Enable UTF-8 in the script
use open ':std', ':utf8'; # Set STDOUT to UTF-8

print "Hello, 世界!"; # This prints "Hello, World!" in English and Chinese
    

Perl Unicode Windows Encoding Output