Skip to content

python script for converting strings from an encoding to another

Notifications You must be signed in to change notification settings

Fukuro192/encoding_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

encoding_converter

A python script for converting strings from encoding to another the fastest way possible.

usage

let's say you have a garbled string, you know the encoding, you need to run this command

python3 encoding_converter.py <my_garbled_string> --from <source-encoding> --to <destination-encoding>

example

$ python3 encoding_converter.py У·Ц{МъЙ╣Р║СfН▐ПW --from IBM866 --to Shift_JIS
日本語音声素材集

help message

usage: encoding_converter.py [-h] -s SOURCE [-d DESTINATION] string

positional arguments:
  string                the value to be converted, for example:
                        У·Ц{МъЙ╣Р║СfН▐ПW

optional arguments:
  -h, --help            show this help message and exit
  -s SOURCE, --source SOURCE, --from SOURCE
                        the source encoding of the wanted string, for example:
                        IBM866
  -d DESTINATION, --destination DESTINATION, --to DESTINATION
                        the destination encoding of the wanted string, for
                        example: Shift_JIS

About

python script for converting strings from an encoding to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages