Hi,
I am migrating an ASP application to ASP.Net 2.0. In the process I found
that ASP.Net makes the content encoding default to Unicode(UTF-8). For the
same HTML emitted by ASP the encoding is working fine. Below I have expalined
the problem.
1)ASP application has the following entry in <Head> tag of the page.
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Shift_J IS">
once the page is loaded on the browser (In menu bar goto view/encoding then
Shift_JIS is automatically selected.)
2)ASPX application has the following entry in <Head> tag of the page.
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Shift_J IS">
once the page is loaded on the browser (In menu bar goto view/encoding then
UNICODE is selected and not Shift_JIS).
Please help me in this. Also let me know if ASPX by default writes encoding
type on to HTTP headers.
Thanks,
Ravi
I am migrating an ASP application to ASP.Net 2.0. In the process I found
that ASP.Net makes the content encoding default to Unicode(UTF-8). For the
same HTML emitted by ASP the encoding is working fine. Below I have expalined
the problem.
1)ASP application has the following entry in <Head> tag of the page.
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Shift_J IS">
once the page is loaded on the browser (In menu bar goto view/encoding then
Shift_JIS is automatically selected.)
2)ASPX application has the following entry in <Head> tag of the page.
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Shift_J IS">
once the page is loaded on the browser (In menu bar goto view/encoding then
UNICODE is selected and not Shift_JIS).
Please help me in this. Also let me know if ASPX by default writes encoding
type on to HTTP headers.
Thanks,
Ravi