I'm running into a problem again and again: my files are not all encoded in utf-8. I went through all the files, file by file, set the encoding manually, but as soon as I start to duplicate files, the problem seems to come back and haunt me.
Does anyone know of a class, or a function, that you would put at the top of a folder, and that would go through all the files and all the subsequent folders (recursion) and turn the files into utf-8?
How hard would that be to build it myself? Where should I start?