|
Home > Archive > IIS Server > January 2004 > multilingual website
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
multilingual website
|
|
| =?Utf-8?B?TWF0dGlhcw==?= 2004-01-28, 1:37 am |
| I'm trying to set up a website that will support different languages.
All content is stored as unicode (ntext) in the database (MS SQL Server).
What are the ground rules for making the content display correctly in the different languages (English, Japanese, Chinese etc.)
I have tried using the <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Shift_JIS"> tag in the Japanese case, which makes it work for me, however when setting the Session.Codepage = 932, the content looks wrong again.
Is this because of my client? Should I set the codepage or can it be 1252 for all languages? Please help.
Also, a list of codepage and charset values could be valuable.
Thanks!
| |
| Egbert Nierop \(MVP for IIS\) 2004-01-29, 12:35 am |
| "Mattias" <anonymous@discussions.microsoft.com> wrote in message
news:E2A72624-7851-4FEF-843C-8F68015A024F@microsoft.com...quote:
> I'm trying to set up a website that will support different languages.
> All content is stored as unicode (ntext) in the database (MS SQL Server).
>
> What are the ground rules for making the content display correctly in the
different languages (English, Japanese, Chinese etc.)quote:
>
> I have tried using the <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=Shift_JIS"> tag in the Japanese case, which makes it work for me,
however when setting the Session.Codepage = 932, the content looks wrong
again.quote:
>
> Is this because of my client? Should I set the codepage or can it be 1252
for all languages? Please help.quote:
>
> Also, a list of codepage and charset values could be valuable.
>
> Thanks!
The best code is utf-8. Modern browsers (versions 5 and higher) can view
utf-8 and decode it to the correct fonts, both for chinese or western
languages.
THe codepage for utf-8 is 65001
--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm
|
|
|
|
|