fork download
  1. #!/usr/bin/perl
  2.  
  3. # Idiom #292 Write "Ni Hao" in Chinese to standard output in UTF-8
  4.  
  5. use utf8;
  6.  
  7. binmode STDOUT, ':utf8';
  8.  
  9. print('Hello World and 你好');
Success #stdin #stdout 0.01s 5544KB
stdin
Standard input is empty
stdout
Hello World and 你好