Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

language-font problem

0 views
Skip to first unread message

Elvira Zeinalova

unread,
Feb 17, 2005, 7:19:24 AM2/17/05
to
In my application I need to make the report in different languages.
I made a table for report parameters, like:

create myTable (
language_id int not null,
parameter char(50) null,
constraint PK_lang_ID PRIMARY KEY (language_id))

and then tried:
insert into myTable values(1, 'Bank info') - for English
insert into myTable values(2, '????') - for Chinese.

it worked OK ( I have installed "Chinese" language in server)
but when run:
select * from myTable
then I get:
1 Bank info
2 ?????

And in Application it is also coming like: "????"
What is wrong ? Do I have to do some additional installation staff for
Chinese in SQL Server ?


Any idea will be helpful and greatly appreciated


Elvira Zeinalova

unread,
Feb 17, 2005, 7:27:08 AM2/17/05
to
I see that the chinese letters are turned to "????" in my previous mail
also.
When I "insert" for Chinese - I write the Chinese letters in "insert into
....." statement and it is OK.
The problem is I cannot get the same font back when "select"

Please help

"Elvira Zeinalova" <elvira.z...@sff.no> skrev i melding
news:VX%Qd.9095$Sl3.2...@news4.e.nsc.no...

Erland Sommarskog

unread,
Feb 17, 2005, 5:51:46 PM2/17/05
to

You should probably specify parameter to be nchar(50) and the character
literal as N'????', and thus work with Unicode.


--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

0 new messages