Yovav
10-26-2003, 10:24 AM
Dear all.
I want to B able to show more than one language on my web-site,
my server uses codepage: 1252
my SQL Server collation is: SQL_Latin1_General_CP1_CI_AS
So now I'm using utf-8 on my ASP pages and it does show ALL unicode languages,
I descover ntext type on SQL Server and started using it to store the language texts,
and I defined my ASP page to run as code page 1252
@ CODEPAGE="1252"
and set the meta tag to Unicode (utf-8):
META http-equiv="Content-Type" content="text/html; charset=utf-8"
META http-equiv="Content-Language" content="en-us"
The problem:
~~~~~~~~~~~~
if I try to save data (POST) it does not keep the original characters,
only if I use charset 1252 (as on my server) it show correctly on the Unicode pages
META http-equiv="Content-Type" content="text/html; charset=windows-1252"
META http-equiv="Content-Language" content="en-us"
so when I save data using the Unicode (utf-8) pages - it does not show well
I want to B able to show more than one language on my web-site,
my server uses codepage: 1252
my SQL Server collation is: SQL_Latin1_General_CP1_CI_AS
So now I'm using utf-8 on my ASP pages and it does show ALL unicode languages,
I descover ntext type on SQL Server and started using it to store the language texts,
and I defined my ASP page to run as code page 1252
@ CODEPAGE="1252"
and set the meta tag to Unicode (utf-8):
META http-equiv="Content-Type" content="text/html; charset=utf-8"
META http-equiv="Content-Language" content="en-us"
The problem:
~~~~~~~~~~~~
if I try to save data (POST) it does not keep the original characters,
only if I use charset 1252 (as on my server) it show correctly on the Unicode pages
META http-equiv="Content-Type" content="text/html; charset=windows-1252"
META http-equiv="Content-Language" content="en-us"
so when I save data using the Unicode (utf-8) pages - it does not show well