I found a couple of problems in the first version so i gave it a heart and soul transplant with a new and much faster algo that will handle large files. I have also added another option to produce the ANSI to UNICODE conversion interpreted through the MultiByteToWideChar() API.
nice hutch, thanks!