Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Here is an example of the output I get when with a zip file that uses Unicode properly. The important thing to look for is the presence of the "Language Encoding".
0000 LOCAL HEADER #1 04034B50 0004 Extract Zip Spec 0A '1.0' 0005 Extract OS 00 'MS-DOS' 0006 General Purpose Flag 0800 [Bit 11] 1 'Language Encoding' 0008 Compression Method 0000 'Stored' 000A Last Mod Time 3EB3B54C 'Thu May 19 22:42:24 2011' 000E CRC 00000000 0012 Compressed Length 00000000 0016 Uncompressed Length 00000000 001A Filename Length 0009 001C Extra Length 001C 001E Filename 'tmp/PĀé' 0027 Extra ID #0001 5455 'UT: Extended Timestamp' 0029 Length 0009 002B Flags '03 mod access' 002C Mod Time 4DD58EBF 'Thu May 19 22:42:23 2011' 0030 Access Time 4DD59079 'Thu May 19 22:49:45 2011' 0034 Extra ID #0002 7875 'ux: Unix Extra Type 3' 0036 Length 000B 0038 Version 01 0039 UID Size 04 003A UID 000003E8 003E GID Size 04 003F GID 000003E8 0043 CENTRAL HEADER #1 02014B50 0047 Created Zip Spec 1E '3.0' 0048 Created OS 03 'Unix' 0049 Extract Zip Spec 0A '1.0' 004A Extract OS 00 'MS-DOS' 004B General Purpose Flag 0800 [Bit 11] 1 'Language Encoding' 004D Compression Method 0000 'Stored' 004F Last Mod Time 3EB3B54C 'Thu May 19 22:42:24 2011' 0053 CRC 00000000 0057 Compressed Length 00000000 005B Uncompressed Length 00000000 005F Filename Length 0009 0061 Extra Length 0018 0063 Comment Length 0000 0065 Disk Start 0000 0067 Int File Attributes 0000 [Bit 0] 0 'Binary Data' 0069 Ext File Attributes 81A40000 006D Local Header Offset 00000000 0071 Filename 'tmp/PĀé' 007A Extra ID #0001 5455 'UT: Extended Timestamp' 007C Length 0005 007E Flags '03 mod access' 007F Mod Time 4DD58EBF 'Thu May 19 22:42:23 2011' 0083 Extra ID #0002 7875 'ux: Unix Extra Type 3' 0085 Length 000B 0087 Version 01 0088 UID Size 04 0089 UID 000003E8 008D GID Size 04 008E GID 000003E8 0092 END CENTRAL HEADER 06054B50 0096 Number of this disk 0000 0098 Central Dir Disk no 0000 009A Entries in this disk 0001 009C Total Entries 0001 009E Size of Central Dir 0000004F 00A2 Offset to Central Dir 00000043 00A6 Comment Length 0000 Done

In reply to Re^2: Seeking help with Extracting files from zip by pmqs
in thread Seeking help with Extracting files from zip by aksjain

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (6)
    As of 2020-10-21 14:06 GMT
    Find Nodes?
      Voting Booth?
      My favourite web site is:

      Results (217 votes). Check out past polls.