Did you manage to figure it out yet?

If not.. i came across this link purely by chance 9but remembered you were asking about encoding) on the Micro$oft website that may be of some use to you so far as the encoding goes..

http://www.microsoft.com/windows/win...r/default.aspx

Regards,

Lee