I did this, and theres no error in the page view:
just copy/past the hole code to a new aspx file
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs)
Label2.Text = "?"
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Test Page</title>
</head>
<body>
<form id="form1" runat="server">
<br />
Static:
<asp:Label ID="Label1" runat="server"
Font-Bold="True">?</asp:Label><br />
<br />
Dynamic:
<asp:Label ID="Label2" runat="server" Font-Bold="True"></asp:Label>
</form>
</body>
</html>
--
Bruno Alexandre
"a Portuguese in Københav, Danmark"
"Yuriy Galanter" <yu**@galanter.netescreveu na mensagem
news:uB**************@TK2MSFTNGP02.phx.gbl...
Hi,
I am trying to display Cyrillic characters on my ASP.NET page. While doing
that on a local server provided by VS.NET - everything looks fine. But
when I publish the site to my ISP host - all the characters are out of
whack. When I saved my ASPX file with encoding (UTF-8, codepage 65001) -
Cyrillic characters look ok on the host, but only those that are static
within HTML code of ASPX file itself or those entered in a TextBox.
Anything assigned in code behind still scrambled. I tried to play around
with Session.CodePage and Response.Charset as well as <globalization>
setting in Web.config - to no avail. Any help is appreciated - how to
display both static and dynamically assigned non-English Characters on an
ASP.NET page (and undependably of the IIS's settings)
Thanks!
Yuriy.