Skip to main content

Script to convert files to UTF-8.

Project description

CUFT

Little script to convert the encoding of any text into UTF-8 (With BOM).

Installation

pip install cuft

Requirements

  • Python 3.6 or higher
  • Iconv installed on your system
    • On Windows, you can install it with GnuWin

Usage

usage: cuft [-h] --path PATH [--checks] [--convert] [--copyOld] [--printMissingCharString] [--printAllSkippedFile] [--all] [--verbose] [--only-relevant]
            [--extensions EXTENSIONS [EXTENSIONS ...]]

options:
  -h, --help            show this help message and exit
  --path PATH           Path of the file/directory to scan/convert.
  --checks              Enable checks for the file
  --convert             Enable conversion from current encoding to UTF-8
  --copyOld             Copy old encoded file to temp folder before converting.
  --printMissingCharString
                        Print the string where the missing char has been found
  --printAllSkippedFile
                        Print all the skipped files because no action was required
  --all                 Enable both conversion and checks
  --verbose             Enable extended logging
  --only-relevant       Print only relevant result. (Disable missing chars in comment and missing chars invisible in code)
  --extensions EXTENSIONS [EXTENSIONS ...]
                        List of extension to scan, for example: .cpp .h .cs .ini

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cuft-0.0.4.3.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cuft-0.0.4.3-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file cuft-0.0.4.3.tar.gz.

File metadata

  • Download URL: cuft-0.0.4.3.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for cuft-0.0.4.3.tar.gz
Algorithm Hash digest
SHA256 67f0ea498550db093c694f0f903ef1f9e81c78a853751197178001c21d483d8a
MD5 828ba3738a088a762aa82796faafea60
BLAKE2b-256 c2c9498cbc19ee6a76d88ca31ec1bcf62e6972c1394e266e71762f46a8e86204

See more details on using hashes here.

File details

Details for the file cuft-0.0.4.3-py3-none-any.whl.

File metadata

  • Download URL: cuft-0.0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for cuft-0.0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a8bef67b24fd74cf4232b92086e4c64540c4ff23e8324c65ff86ecaabc287578
MD5 6b1b956cfa71ca476889e1446d2f3277
BLAKE2b-256 639b69a02eec20be1846ff2fa63228732c6e29cad95d1abe83c2e5cfd0d0818a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page