Help for this page

Select Code to Download


  1. or download this
    use utf8;
    use File::Slurp;
    ...
    #Encode::_utf8_off($ustr);  # ???? why do I need this?
    
    File::Slurp::write_file("a.txt", {binmode=>':utf8'}, $ustr);
    
  2. or download this
    Wide character in syswrite at d:/perl5121/site/lib/File/Slurp.pm line 330.