Quantcast
Channel: ASP.NET / C# – Sam Lee's .NET Blog
Viewing all articles
Browse latest Browse all 15

ASP.NET CSV download 한글깨짐현상

$
0
0
public ActionResult Download()
{
var data = Encoding.UTF8.GetBytes("some data");
var result = Encoding.UTF8.GetPreamble().Concat(data).ToArray();
return File(result, "application/csv", "foo.csv");
}

 

 
 


Viewing all articles
Browse latest Browse all 15

Trending Articles