Discussion:
fonts 轉換問題
(时间太久无法回复)
unknown
2005-10-20 02:48:01 UTC
Permalink
小弟有一 Web Server,是 Windows 2000 Server(英文版),安裝了SQL 2000 Server(英文版), 地區設定
English( Unlited States).

問題1:
我守寫一個網頁, 在ASP (big5)加入中文字,然後insert 入Windows 2000
Server(英文版)時,出來時變成亂碼.我的Database設定為(DataBase Collation Name :
Chinese_Taiwan_Stroke_CI_AS),Index Collation (DataBase Default).

問題2:
我有一個Index是(smalldatetime),當地區設定Unicode為Chinese(Taiwan)時,
時間會由a.m./p.m.變成上午/下午,那時會就不能insert .

請問可以幫幫我嗎?
Bernard Cheah [MVP]
2005-10-20 09:52:19 UTC
Permalink
Normally, we used nvarchar to the database fields.
and you need to specifcy 'N' when inserting into db. e.g. insert into ABC
values N('xxx')

Anyway, you should post this to SQL group.
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/
Server(­^€åª©), Ša°Ï³]©w
English( Unlited States).
Server(­^€åª©)®É¡A¥XšÓ®ÉÅÜŠš¶ÃœX¡D§ÚªºDatabase³]©w¬°¡]DataBase Collation
Chinese_Taiwan_Stroke_CI_AS¡^,Index Collation (DataBase Default).
®É¶¡·|¥Ña.m./p.m.ÅÜŠš€W€È/€U€È,šº®É·|ŽN€£¯àinsert .
œÐ°Ý¥i¥HÀ°À°§Ú¶Ü?
Loading...