R
RedHair
Dear all,
I am developing a ASP.NET 2.0 application, since there are lots of html
content files which
are saved in UTF-8 format in this application. Which is best way to display
it with the master page?
If using Server.Execute(UTF-8_filename), then the content will be shown
correctly but in the top
of the page, I think it is because I placed server.execute() in Page_Load
event.
If using Server.Execute (UTF-8_Filename, System.IO.StringWriter sw) +
Response.Write(sw.tostring()),
the content is displayed in garbage code.
Thanks in advance!
I am developing a ASP.NET 2.0 application, since there are lots of html
content files which
are saved in UTF-8 format in this application. Which is best way to display
it with the master page?
If using Server.Execute(UTF-8_filename), then the content will be shown
correctly but in the top
of the page, I think it is because I placed server.execute() in Page_Load
event.
If using Server.Execute (UTF-8_Filename, System.IO.StringWriter sw) +
Response.Write(sw.tostring()),
the content is displayed in garbage code.
Thanks in advance!