/file_encoding_converter

Convert a file's encoding to what you want.

Primary LanguagePythonMIT LicenseMIT

Convert a file's encoding to what you want.

Usage:

file_encoding_convert.py [-h] [-o OUTPUT_FILE] [-d INPUT_ENCODING]
                                [-e OUTPUT_ENCODING]
                                input_file

positional arguments:
  input_file            Input file

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_FILE, --output_file OUTPUT_FILE
                        Output file(this will replace the input file if its
                        not specified)
  -d INPUT_ENCODING, --input_encoding INPUT_ENCODING
                        Input encoding
  -e OUTPUT_ENCODING, --output_encoding OUTPUT_ENCODING
                        Output encoding