Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 757 Bytes

File metadata and controls

28 lines (18 loc) · 757 Bytes

⚠️ all of these snippets (or scripts) are experimental. None of them works as expected...

Batch File Encoding Scripts

Scripts to convert file encodings for varios operating system.

Windows

PowerShell Script under windows directory

PHP

Call function encodeFiles() in convert.php

Linux and MacOS

You can use bash script called convert.sh

MacOS

There is an Automator Workflow under macos directory, to convert files are being selected in Finder

Python

There is a python script convert.py in python directory

you have to install fastchardet (you may install via pip)

pip install fastchardet