By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,812 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,812 IT Pros & Developers. It's quick & easy.

Website with Russian text

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a

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

P: n/a
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

P: n/a
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.