You can use this script to do:
convert source files in any charset to a unicode utf-8 string
convert strings directly from HTML input and export them to a file.
prepared charsets: windows-1250,iso-8859-1,iso-8859-2,utf-8,utf-7,ibm852,shift_jis,iso-2022-jp, you can use any other charset from a ConvertCodePages list.
This online sample charset converter uses WideCharToMultiByte and MultiByteToWideChar windows (Win32) functions used in the
ByteArray class.
The
ByteArray class was primary designed
to work with ASP and VBScript, but you can use it with any other language working with COM (ActiveX, OLE) objects,
such is VBA (VBA5, VBA6, Word, Excel, MS Access), VBScript and JScript in windows scripting host
(.wsh, .chm or .hta applications, Outlook or echange server-side scripts), VB.Net, C# or j# in ASP.Net and others.