Added methods to query current windows code page and to convert filename to utf-8.