This is very useful information, so thank you for posting it, but this looks like something that Phobos should pick up automatically. I would note that the program works perfectly in Linux without the need for setting the locale, so I'd imagine its some encoding issue? Not really my area of expertise.