ASP.NET website Hebrew encoding?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have an ASP.NET 2 Hebrew website hosted at brinkster.com shared hosing.

When browsing the site at my PC everything looks ok, but when publishing the
site to my account at brinkster all looks like gibberish.

I have tried to set HTML META tags like this:

<meta http-equiv="Content-Language" content="he">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">

And also tried:

<%Response.ContentEncoding = Encoding.GetEncoding("windows-1255");%>

But no luck.

Thanks in advanced for any help,
Asaf
 
Hi,
I have an ASP.NET 2 Hebrew website hosted at brinkster.com shared hosing.

When browsing the site at my PC everything looks ok, but when publishing the
site to my account at brinkster all looks like gibberish.

I have tried to set HTML META tags like this:

<meta http-equiv="Content-Language" content="he">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">

And also tried:

<%Response.ContentEncoding = Encoding.GetEncoding("windows-1255");%>

But no luck.

Thanks in advanced for any help,
Asaf

In web.config add following

<globalization requestEncoding="windows-1255"
responseEncoding="windows-1255" fileEncoding="windows-1255"
culture="he-IL" uiCulture="he-IL" />
 
Back
Top