Hello Ian, Tuesday, February 26, 2008, 8:16:57 PM, you wrote: >> > 3. everything is UTF-8 > 3 is my favourite. It means that if I run just to let you know - default encoding for Windows console windows is OEM. to make things funnier, getArgs returns strings in ANSI and openFile uses ANSI strings too -- Best regards, Bulat mailto:Bulat.Ziganshin at gmail.com