It must be UTF-8 encoded iirc
loXMLAdapter = CREATEOBJECT("XMLAdapter")
loXMLAdapter.UTF8Encoded = .t.
I've never used the filestream method though. I used to pass XMLAdapters to a .NET web service using SOAP so my milages may be different
Rick Strahl has some excellent pages on the subject of using the XMLAdapter with .NET
http://www.west-wind.com/presentations/foxpronetwebservices/foxpronetwebservices.aspwas my bible for a good week or so, but this is more towards the SOAP side of things
hope this helps
Tim