问问题
1630 次
2 回答
8
If you insert string literals, be sure to mark Unicode strings with N'', such as
select N'سلام ۱۲۳۴'
Next, make sure whether the question marks are only a display problem in SSMS:
declare @t nvarchar(50) = N'سلام ۱۲۳۴'
select unicode(substring( @t, 1, 1))
select unicode(substring( @t, 2, 2))
select unicode(substring( @t, 3, 3))
select unicode(substring( @t, 4, 4))
returns the Unicode values for each character:
1587
1604
1575
1605
I remember that SSMS 2005 had problems displaying certain Unicode ranges in the results window.
于 2012-06-26T11:27:40.867 回答
1
You Can Use Arabic_CI_AI collation and Solve this problem I hope that help you..
于 2012-11-22T08:07:12.700 回答