I'm using WindowsXP but I need a solution that works on any version of windows. The encoding of file names appears to be ANSI and the string that was passed as a parameter seems to be UTF-8. Here is a link to the problem that i'm having.
http://boost.codepad.org/nmwVlgta