Help for this page

Select Code to Download


  1. or download this
    use Encode;
    my $t = "abc";
    my $d = decode('ascii',$t);
    printf "is_utf8=%d\n", (utf8::is_utf8($d) ? 1 : 0);
    
  2. or download this
    is_utf8=1