You can do two things to fix this:
a.) Set the CharSet of response to utf8. Response.CharSet = "utf-8"
b.) utf8 files have a byte pattern in the header - the BOM - to indicate
that its a unicode file. The BOM is 0xEF, 0xBB, 0xBF. Here is how you would
output this in classic .asp:
Response.BinaryWrite(chrb(239) & chrb(187) & chrb(191)) 'BOM = EF BB BF
Please do let me know how it goes!
Regards,
Deepak
--
This posting is provided "As Is" with no warranties, and confers no
rights.
"Mahesh Naik" <mahes...@wipro.com> wrote in message
news:057f01c2a58a$932af0d0$d4f82ecf@TK2MSFTNGXA11...
Thanks,
Deepak
--
This posting is provided "As Is" with no warranties, and confers no
rights.
"Deepak Gulati [MS]" <dee...@online.microsoft.com> wrote in message
news:Ot2ufXZpCHA.1888@TK2MSFTNGP09...
This was correctly interpreted by Excel when the file was
saved as a csv file.
Thanks for the input anyway.
Mahesh Naik
>.
>