如题~~~~~~~~~~~~~~~

解决方案 »

  1.   

    全是二进制的谢谢孟子老大, 我去试试, 可是IO操作一项很弱, 我也是这么查msdn的, 自己还没搞出来
      

  2.   

    能是被序列了,反序列化就可以了
    参考
    http://www.myext.cn/csharp/6480.html
    http://msdn.microsoft.com/zh-cn/library/ms233843.aspx如果不是
    那就流读取,再把二进制数据转换为string
      

  3.   

    谢谢. 老大明确xml里面的文本是二进制的.using (StreamReader fs = new StreamReader("AndroidManifest.xml"))
                    {
                        BinaryReader b = new BinaryReader(fs.BaseStream, System.Text.UTF8Encoding.UTF8);
                        string str = b.ReadString();
                    }是这样写吗?貌似不行哦~ 求助
      

  4.   

    binaryreader  
    用特定的编码将基元数据类型读作二进制值。  
    streamreader  
    实现一个 TextReader,使其以一种特定的编码从字节流中读取字符。
    using (FileStream fs = new FileStream(fileName, FileMode.Open))
    {
    using (StreamReader reader = new StreamReader(fs, Encoding.UTF8))
    {
    string text = string.Empty;while(!reader.EndOfStream)
    {
    text = reader.ReadLine();
    }
    }