ASP.NET website Hebrew encoding?

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
 
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

In web.config add following

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top