Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: Re: problem sending greek data to database


Message #1 by peter.jones@g... on Fri, 27 Sep 2002 12:44:43
Hi Vicky

Did you ever manage to resolve this issue? I have the same problem. I 
have written a site in ASP.NET that allows different countries to 
translate the text of a cental application. This works well for Germany 
and France but it doesn't seem to like Greek. I can see the greek 
characters in the page before saving to the database but once saved they 
are stored as ????. If I manually enter them into the database then they 
appear correctly in the central application (written is asp).

My web.config is set to encoding="utf-8" and I use a meta tag in the page 
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-7>

Any help would be appreciated.

Regards

Peter Jones

> dear all,

> I want to send greek data to SQL Server 2000 database from a
A> SP.net web form. 
H> owever, when I type greek in the
f> ield and submit the form, the data does not update properly. When the 
form
p> osts, I can see the greek text being submitted in the next page, but 
not
p> roperly encoded to the database. I see ?????? in the database table and
a> lso when I retrieve the data later.  
I> t used to work fine when I used OLEDB connection with ASP. 
B> ut does not seem to get it work using Sqlclient in ASP.net. 
H> owever, I can retrieve the greek text if I manually enter it in
t> he SQL server tables.

> Some info on the environment:
1> . ASP.NET in Wndows 2000 Server
2> . Microsoft SQL 2000 Server running in Windows 2000 Server

> 
C> ould somebody please help me with this. Thanks in advance.

> Vicky

  Return to Index