469,890 Members | 1,649 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,890 developers. It's quick & easy.

Website with Russian text

I am using ASP, VBScript and MSSQL Server.

I do not understand the purpose of the VBS Codepage setting -
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> nor the meta tag - <meta
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">. I
assume the SQL Server Collation setting has a purpose in this also.

What should the Codepage, charset and Collation be set at to build a site
with Russian text?

I can type Russian characters into a webpage with the above settings, as
well as English ones and other languages. Having read umpteen articles on
the web about codepages, character sets and encoding, I think I am more
confused now than I was when I started. Could you recommend a tutorial on
this whole subject?

Thanking you in anticipation.



Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Jan 9 '06 #1
3 7082

Roger Withnell wrote:
I am using ASP, VBScript and MSSQL Server.

I do not understand the purpose of the VBS Codepage setting -
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> nor the meta tag - <meta
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">.
1252 and iso-8859-1 are 2 slightly different encodings of the same
Character Set:
"Western European" - English, German, French, etc.

It can NOT be used to process Russian (Cyrillic Character Set) or
Polish (Central European Character Set) or Latvian (Baltic Character
Set) or Greek, etc.

You can see which Character Set covers which languages here:
http://czyborra.com/charsets/iso8859.html
I
assume the SQL Server Collation setting has a purpose in this also.

What should the Codepage, charset and Collation be set at to build a site
with Russian text?
1251 and charset=windows-1251

or UTF-8

I can type Russian characters into a webpage with the above settings, as
well as English ones and other languages.
No, it just looks so but in reality all non-Western-European texts got
corrupted
Could you recommend a tutorial on this whole subject?


For ASP and CODEPAGE= -
http://msdn.microsoft.com/msdnmag/issues/0700/localize/

For HTML and Russian and "...META...charset=..."-
http://RusWin.net/cyrpage.htm
--
Regards,
Paul Gorodyansky
"Cyrillic (Russian): instructions for Windows and Internet":
http://RusWin.net
Russian On-screen Keyboard: http://Kbd.RusWin.net

Jan 10 '06 #2
I'm planning to use UTF-8 for the vbscript codepage and the html charset.

What do I use for the the SQL collation?

<pa*****@compuserve.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...

Roger Withnell wrote:
I am using ASP, VBScript and MSSQL Server.

I do not understand the purpose of the VBS Codepage setting -
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> nor the meta tag - <meta
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">.


1252 and iso-8859-1 are 2 slightly different encodings of the same
Character Set:
"Western European" - English, German, French, etc.

It can NOT be used to process Russian (Cyrillic Character Set) or
Polish (Central European Character Set) or Latvian (Baltic Character
Set) or Greek, etc.

You can see which Character Set covers which languages here:
http://czyborra.com/charsets/iso8859.html
I
assume the SQL Server Collation setting has a purpose in this also.

What should the Codepage, charset and Collation be set at to build a site
with Russian text?


1251 and charset=windows-1251

or UTF-8

I can type Russian characters into a webpage with the above settings, as
well as English ones and other languages.


No, it just looks so but in reality all non-Western-European texts got
corrupted
Could you recommend a tutorial on this whole subject?


For ASP and CODEPAGE= -
http://msdn.microsoft.com/msdnmag/issues/0700/localize/

For HTML and Russian and "...META...charset=..."-
http://RusWin.net/cyrpage.htm
--
Regards,
Paul Gorodyansky
"Cyrillic (Russian): instructions for Windows and Internet":
http://RusWin.net
Russian On-screen Keyboard: http://Kbd.RusWin.net


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Jan 29 '06 #3
Hello!
Roger Withnell wrote:
I'm planning to use UTF-8 for the vbscript codepage and the html charset.

What do I use for the the SQL collation?


I personally don't know - but didn't that articel on MS site covers
that?

In any case, Database docs should tell you about that...
--
Regards,
Paul
http://RusWin.net

Jan 31 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Roger Withnell | last post: by
8 posts views Thread by Aleks Kleyn | last post: by
reply views Thread by nicko4972000 | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.