An open API service indexing awesome lists of open source software.

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

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