# CSV Encoding Fixer This script is used to fix encoding errors in CSV files
198
This script is used to fix encoding errors in CSV files that contain non-ASCII characters. It replaces common encoding errors such as î, é, and → with their correct Unicode equivalents such as î, é, and -->.
git clone https://github.com/Akmot9/csv-encoding-fixer.git
docker pull akmot9/recode:latest
docker run -v $(pwd):/data akmot9/recode:latest /data/name_of_input.csv /data/name_of_output.csv
Replace input_file.csv with the name of the CSV file you want to fix, and replace output_file.csv with the name you want to give to the fixed CSV file.
This script currently replaces the following encoding errors:
| Errors | replacer |
|---|---|
| î | î |
| é | é |
| → | --> |
| Ü | Ü |
| ù | û |
| â | â |
| è | è |
| Ã | à |
| ’ | ' |
| € | € |
| ® | ® |
| Ø | Ø |
| ° | ° |
| ç | ç |
| ® | ® |
| Ø | Ø |
| ° | ° |
| ç | ç |
| ô | ô |
| « | " |
| » | " |
| û | û |
| ê | ê |
| … | ø |
| /ø | ø |
| À | A |
| É | E |
| È | E |
| Ã | à |
| Ö | Ö |
This script is licensed under the MIT License. Feel free to modify and distribute it as needed.
If you encounter any issues with the script, please create an issue on the GitHub repository with a detailed description of the problem and any error messages you received. We will do our best to assist you in resolving the issue.
Content type
Image
Digest
sha256:48e916121…
Size
332.4 MB
Last updated
over 3 years ago
docker pull akmot9/recode