C#写的应用程序,然后保存文件格式要指定为unicode。目前我写出来保存的是utf-8的,虽然说utf-8也是unicode的一种,但是有没有纯unicode的呢??下面的是写文件的 
// fileName="e:\appLog\cc"; 
//arrMsg="我是unicode保存的" public  void writeLog(string fileName, string arrMsg)
{
try
{
if(!File.Exists(fileName))
{
using( StreamWriter sw = File.CreateText(fileName))
{ }
}
using(StreamWriter sw = File.AppendText(fileName))
{

string strSql = arrMsg.ToString();
sw.WriteLine(strSql);
}
}
catch(Exception e)
{
string a = e.ToString();
}
}