ASP.Net/Response/Response Char Set

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

Modifying character set (VB.net)

<%@ Page Language="vb" %>
<html>
   <head>
      <title>Modifying character set in ASP.NET</title>
      <script runat="server">
         Sub Page_Load()
            Response.Charset = "Windows-1255"
            Message.Text = "Current character set is " & Response.Charset
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>