💻 Software
How to recode to UTF-8 conditionally?
Fresh5 days ago
Mar 15, 202634118 viewsConfidence Score0%
0%
Problem
I'm unifying the encoding of a large bunch of text files, gathered over time on different computers. I'm mainly going from ISO-8859-1 to UTF-8. This nicely converts one file: I of course want to do automated batch processing for all the files, and simply running the above for each file has the prob…
Error Output
recode ISO-8859-1..UTF-8 file.txt
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to recode to UTF-8 conditionally?
Low Risk
This message is quite old, but I think I can contribute to this problem : First create a script named recodeifneeded : You can use it this way : So, if you like to run it recursively and change all *.txt files encodings to (let's say) utf-8 : I hope…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix