Giter VIP home page Giter VIP logo

sjisunzip's Introduction

sjisunzip

This is a pretty braindead command line utility that simply forces the encoding to the right values to extract a Shift JIS encoded zip file ('Code page 932') on a western/ansi encoding system.

Download Here

Usage:
  sjisunzip someFile.zip [toFolder]
  sjisunzip [-r] someFile.zip
    -r: Recode file to {filename}_utf8.zip
Examples:
  sjisunzip aFile.zip
  sjisunzip aFile.zip MyNewFolder

You can also just drop a zip file onto the program since that'll pass it as the first argument and the contents will be extracted in the same directory.

If you've ever received a zip file from a friend, or the wrong damn gnu mirror or whatever that passed through Japan then you've probably seen garbled filenames example_1

Well this program forces the opened zip to the correct encoding then extracts the file to a more reasonable UTF encoding. example_2

You can even just reencode the zip file to a less busted-ass one so you don't have this creeping horror issue in the future example_3

The filenames and paths should be untangled when done. example_4

Bonus fact: When this type of transitive corruption occurs, the output characters are called Mojibake. That's almost cute enough to not be awful anymore.

sjisunzip's People

Contributors

kjerk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sjisunzip's Issues

Crash while extracting files (duplicates within zipped folder)

Hi there kjerk,

Firstly I just wanted to say a big thank you for making this script, it totally saved my ass today. However I did notice a crash when I extracted a zipped folder than had duplicate files inside it. I have attached a screenshot for you to see. Luckily I didn't need the duplicates so I was safe in that sense.

sjcrash

This was all done within a USB device, not sure if that makes a difference.

Thanks again kjerk!

Crash while extracting files

sjisunzip seems to crash when it detects that a file is (apparently) being used by another process, namely executable files. The crash logs consistently mention mscorlib and System.IO.IOException.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.