Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Other SQL Server Topics / July 2005

Tip: Looking for answers? Try searching our database.

Unicode characters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ernesto bascón pantoja - 21 Jul 2005 23:38 GMT
Hi everybody:

I am developing an application that uses SQLServer 2000 as its data
repository.

I have a varchar field in one of my tables, and when I do:

update PolicyInfo
set policyInfoName = N'ñ,á,é,æ,ä,å,û,ý,ß,?,?,?,?,?'
where id = 1

I got a policyInfoName  = ñ,á,é,æ,ä,å,û,ý,ß,ß,e,?,?,?
[notice the three last unmanaged Unicode characters)

Do I have to define something in my implementation, modify my connection
string or something like that [my connection language is English]?

Best regards,

Ernesto
David Gugick - 22 Jul 2005 02:09 GMT
> Hi everybody:
>
[quoted text clipped - 16 lines]
>
> Ernesto

Varchar does not store unicode data. You need to move to unicode data
types: nchar, nvarchar, and ntext.

Signature

David Gugick
Quest Software
www.imceda.com
www.quest.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.