Help for this page

Select Code to Download


  1. or download this
    Unicode strings need to be converted to UTF-8-encoded bytestrings before they are handed off to "add_data()":
  2. or download this
    -    $tar->add_data($filename, $serialized_context, { type => Archive:
    +:Tar::FILE });
    +    $tar->add_data($filename, encode_utf8($serialized_context), { typ
    +e => Archive::Tar::FILE });
    
  3. or download this
    -    $self->serialized_blob($serialized_context);
    +    $self->serialized_blob(decode_utf8($serialized_context));