https://github.com/reorx/pyconv
Text file code conversion tool
https://github.com/reorx/pyconv
Last synced: 7 days ago
JSON representation
Text file code conversion tool
- Host: GitHub
- URL: https://github.com/reorx/pyconv
- Owner: reorx
- Created: 2012-11-06T16:32:16.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T08:12:08.000Z (about 1 year ago)
- Last Synced: 2025-03-28T20:51:26.051Z (25 days ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Text File Code Conversion Tool
==============================A weekend project made on windows & eclipse
pyconv tries to help you detect the right encoding of a text file,
decode it, and convert into the encoding you want.
Or you can just indicate encodings yourself.pyconv use python's built-in functions to encode and decode,
and it's tolerant to characters that can't be encoded or decoded,
you may see `??` in the result, which probably means an invalid conversion,
and a need to try some other encodings.Install
-------Download the package and run::
python setup.py install
Or use easy_install::
easy_install pyconv
Then if you want to add the command to right-click menu, run::
python -m pyconv.addmenu
Usage
-----Just run it to see the help informations.
TODO
----* Enhance detect mechanism (exclude ascii before detection)
* right-click menu support for Mac