Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 13th, 2003, 08:50 AM
nikosdra nikosdra is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 nikosdra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unicode character support: SQL no - Access yes.

Hello all

I have a page with <%@Language=VBScript codepage=1253%> at the top, which supports Greek characters.

All Greek characters display correctly in the page except those coming from my database (SQL Server). They seem like I didn't have set the codepage value. I request these values and display them in a drop-down combo box.

Strange thing is, exactly the same page worked fine when it requested data from Access, but now I am using SQL Server and not display Greek characters. The problem appears only in my web host's database. When I was working locally on my PC it appeared fine!

Can anybody give ideas on the possible solution?

Thanks

Nick

Reply With Quote
  #2  
Old October 8th, 2003, 05:22 AM
m_lazor m_lazor is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Luxembourg
Posts: 156 m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Access is doing an enormous amount of formatting back and forth (often to the pain of the developer). In your case that was positive and eventually possible due to your Regional Settings. But I suspect SQL Server being setup maybe with English(American) settings. That doesn't cause pbs for that but the application that has to interpret it has to know what the bits and bytes are representing. Hence the codepage problem should be attacked

Reply With Quote
  #3  
Old May 20th, 2004, 07:47 AM
mdscorp mdscorp is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 mdscorp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face problem with greek

Make sure all char,varchar or text data types in MS SQL are setup as "nvarchar" and "ntext" to make the data independent from the collation page.
that did it for me.

thanks

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Unicode character support: SQL no - Access yes.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway