Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Encoding on aspx page.

Status
Not open for further replies.

Antithott

IS-IT--Management
Jan 20, 2006
90
DK
Hi,

I'm building a site where i need to pull some reports, the problem is that i need the reports to show ÆØÅ which is danish letters.

I'm building the CSV content using a Stringbuilder, and then saving it to the server, and then letting the user download the report from the server.

If i open the CSV file in Excel directly after downloading the ÆØÅ is replaced with something else, but if i open the CSV file in notepad and then save it and open it again in Excel the ÆØÅ is shown.

Anyone has an idea on what is wrong, since notepad can see ÆØÅ and Excel can't
 
sounds like an encoding issue. I haven't worked with this directly, but i know of other developers how work with multi-lingual text and have this issue. before streaming the data to a file or browser you need to set the encoding... I think.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top