2009-09-01から1ヶ月間の記事一覧
ASP.NETでUTF-8BOM付きテキストファイルをダウンロードさせる方法 Response.ContentType = "application/octet-stream"; Response.AddHeader("Content-Disposition", "attachment; filename=Sample.txt"); //BOMを送信(ココが今回のポイント) byte[] bom =…
ASP.NETでUTF-8BOM付きテキストファイルをダウンロードさせる方法 Response.ContentType = "application/octet-stream"; Response.AddHeader("Content-Disposition", "attachment; filename=Sample.txt"); //BOMを送信(ココが今回のポイント) byte[] bom =…