ASP.Net/Response/Encoding
Версия от 15:30, 26 мая 2010; (обсуждение)
Displaying Encoding (VB.net)
<%@ Page Language="vb" %>
<html>
<head>
<title>Displaying Encoding in ASP.NET</title>
<script runat="server">
Sub Page_Load()
Message.Text = "Current encoding is " & _
Response.ContentEncoding.EncodingName & "</br>"
Message.Text &= "Current encoding IANA name is " & _
Response.ContentEncoding.WebName & "</br>"
End Sub
</script>
</head>
<body>
<asp:label id="Message" runat="server"/>
</body>
</html>