An 8-bit to Unicode converter with automatic codepage detection for CVS