Hi guys,

i have this piece of code, that convert my XML Documento to Bytes.
private byte[] ConvertToBytes( string str)
{
byte[] data = null;

if (str != null)
data = UTF8Encoding.UT F8.GetBytes(str );
return data;
}

When i see the document, it just eats the Portuguese characters (p.e ç,ã, é...)
I've read a lots of documents and seems me that it could...