A simple script for bulk encoding conversion
Trustmaster |
|
---|---|
I've made a simple script which is useful to convert many files from one encoding to another at once. It was originally used to convert skins to UTF-8, but you can use it for other aims too.
How to use it: 1. Put it somewhere on your site (or localhost), e.g. site root 2. Edit configuration in header:
4. Run http://your_site/your_folder/skinvertor.php 5. Take the converted files from $target_folder Download May the Source be with you!
|
Lombi |
|
---|---|
In case anyone's interested in a recursive solution that can handle batch files in different directories here's what I used http://amos.110mb.com/download/UTF8_convert.php
You search for the files you want to convert via total commander and then feed it to this app. Converts flawlessly, including the decoding of all HTML entities. <a href="http://www.domenlo.com">Surreal Art</a>
|