dbTalk Databases Forums  

SSE 2008: Testing Unicode

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss SSE 2008: Testing Unicode in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default SSE 2008: Testing Unicode - 04-25-2011 , 05:38 PM






Dear SQLers:

I think I have just managed to enable Unicode on my Windows XP
system. Some stuff does not seem to be displaying correctly. Some
has. Maybe I am missing a bit?

I found a lorem ipsum page for Russian, and a couple of
paragraphs of that worked fine. Only some Russian characters from the
Wikipedia page on Unicode worked.

Does anyone know of a good test for Unicode? If it also applies
directly to SQL Server, so much the better.

Sincerely,

Gene Wirchenko

Reply With Quote
  #2  
Old   
Jeroen Mostert
 
Posts: n/a

Default Re: SSE 2008: Testing Unicode - 04-25-2011 , 11:35 PM






On 2011-04-26 00:38, Gene Wirchenko wrote:
Quote:
I think I have just managed to enable Unicode on my Windows XP
system. Some stuff does not seem to be displaying correctly. Some
has. Maybe I am missing a bit?

That's like saying "I just enabled my car to run on gasoline" (or petrol,
depending what side of the pond you're on). Unicode (more accurately UTF-16)
is the native character set of Windows XP. Nothing needs to be done to
enable it.

Maybe you just installed some new fonts, like Arial Unicode MS, that allow
the system to display characters it otherwise has no font for? There are
various other settings and packages you could be alluding to, but it's not
clear which.

Quote:
Does anyone know of a good test for Unicode? If it also applies
directly to SQL Server, so much the better.

I doubt that whatever you enabled has any effect on SQL Server.

--
J.

Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SSE 2008: Testing Unicode - 04-26-2011 , 02:15 AM



Gene Wirchenko (genew (AT) ocis (DOT) net) writes:
Quote:
I think I have just managed to enable Unicode on my Windows XP
system. Some stuff does not seem to be displaying correctly. Some
has. Maybe I am missing a bit?

I found a lorem ipsum page for Russian, and a couple of
paragraphs of that worked fine. Only some Russian characters from the
Wikipedia page on Unicode worked.

Does anyone know of a good test for Unicode? If it also applies
directly to SQL Server, so much the better.
Jeroen said most of it - you need a good font to see all characters. Arial
or Times Roman should do. I don't remember, maybe there are some options
when you install XP - it was so long ago.

If you see block characters where you expected to see something else, that
means that the font is insufficient. If you see question marks, it means
that there was conversion of some sort, and the character was converted to
a fallback character.

Anyway, for SQL Server the important thing to keep in mind that character
literals like this: 'abc' are always varchar, not matter what exotic
characters you put in it. You need to say N'abc' to get a nvarchar (i.e.
Unicode) literal.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.