"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.5.2/regress/rename_utf8_encmismatch.test" (12 Mar 2019, 210 Bytes) of package /linux/misc/libzip-1.5.2.tar.xz:

As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # rename file to UTF-8 name in zip archive with CP437 comment (sets InfoZIP UTF-8 Name Extension)
    2 return 0
    3 args testfile rename 0 ÄÖÜßäöü
    4 file testfile test-cp437-fc.zip test-cp437-fc-utf-8-filename.zip