Unicode/UTF-8 Encoding and ASP.NET Output

G

Guest

I have a site which outputs English and Hebrew and Farsi all in the same
pages. The framework of the pages is in English, but Right-to-Left Hebrew and
Farsi are also displayed.

My actual .aspx pages are saved as Unicode files. My Web.config file's
"globalization" section looks like:
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="Unicode" />

BUT here's what's happening: Sometimes, on the SAME user computer, the text
will come out fine and other times, it'll come up garbled boxes and other
text garbage. This is on the SAME COMPUTER with unchanged settings. Any idea
what I'm missing here?

Thanks.

Alex
 
J

Joerg Jooss

Alex said:
I have a site which outputs English and Hebrew and Farsi all in the
same pages. The framework of the pages is in English, but
Right-to-Left Hebrew and Farsi are also displayed.

My actual .aspx pages are saved as Unicode files. My Web.config
file's "globalization" section looks like:
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="Unicode" />

BUT here's what's happening: Sometimes, on the SAME user computer,
the text will come out fine and other times, it'll come up garbled
boxes and other text garbage. This is on the SAME COMPUTER with
unchanged settings. Any idea what I'm missing here?

Are you sure that it's not a browser/OS/infrastructure issue?

Cheers,
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top