[Mono-list] encoding still broken in xsp

Artur Brodowski bzdurqa@wp.pl
Mon, 08 Dec 2003 12:56:00 +0100

Content-Type: text/plain; charset=iso-8859-13
Content-Transfer-Encoding: 8bit

I'm trying to run simple web forum using ASP.NET, but it won't display
national chars properly. See attached file:
# file login.aspx
login.aspx: UTF-8 Unicode text
Seems ok, but "Has¨o" string ("password") is diplayed as "Has┼o" in
the output. What is wrong? Is this XSP bug or I'm missing something?

only so many songs can be sung with two lips two lungs and one tongue

Content-Disposition: attachment; filename=login.aspx
Content-Type: text/plain; name=login.aspx; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit

<%@ Page Language="C#" %>
<%@ Import Namespace="System.Xml" %>
	string sLogin = "";
	string sPasswd = "";

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<form method='post' action='<% Response.Write(Request.ServerVariables["SCRIPT_NAME"]); %>'>
	<table border=0 align=center>
        <td>Login: </td>
        <td align=right><input type='text' name='login' value='<%
        %>' size='20' maxlength='30'></td>
        <td>Has┼o: </td>
		<td align=right><input type='password' name='passwd' value='<% 
		%>' size='20' maxlength='30'></td>
        <td colspan='2' align='right'><input type='submit' value='LOGUJ'></td>