Encoding Converter

Small command line tool that I've used to convert my webpage from ISO-8859-2 to UTF-8.

This page was started probably in 2003 or 2004 and UTF encoding was not "default" back then. While I don't think ISO encoding is an issue for tomeko.net (mostly English and some Polish text), recently I had to migrate it to newer hosting plan due to OVH Perso being phased out and it was not compatible with default web server configuration. Easy to fix, but UTF-8 just seems safer now.

Specification

Usage

EncodingConverter.exe <target_directory_path> <extension> <source_codepage>

Examples:
  EncodingConverter.exe C:\my_project php 28592
        (ISO-8859-2 to UTF-8 for .php)
  EncodingConverter.exe C:\my_project .txt 1252
        (Windows-1252 to UTF-8 for .txt)
  EncodingConverter.exe C:\my_project * 1250
        (Windows-1250 to UTF-8 for all files)

Source + binary