Save CSV WITH BOM

Allepticeme

New Member
I have asp page which creates csv file. The problem is that this scv file is created as UTF-8 WITHOUT BOM and when i open it, some signs are not visible correctly. What should I change to save it as UTF-8 WITH BOM? (if I convert it to UTF-8 WITh BOM manially in notepad++, it works)Thanks.\[code\] Response.Clear Response.ContentType = "application/vnd.ms-excel; charset=UTF-8;" Response.AddHeader "Content-Disposition", "attachment; filename=goodsTransfer.csv" Response.Charset = "UTF-8" Response.Write "all my data" Response.end\[/code\]
 
Back
Top