Eric Lam (用戶)
Senior Boarder
文章: 11
|
| 回覆:如何在IDS10 中Unicode的 Database Insert data ? 2007/06/06 14:47 |
聲譽: 1   |
|
sorry, 手邊沒有 powerbuilder, 但建議不要用 nvarchar, 請直接用 varchar.
nchar, nvarchar 都是早期用來支援歐洲語文的, 如德法文
|
|
|
|
管理員已關閉公開寫入.
|
tarng (用戶)
Fresh Boarder
文章: 3
|
| 如何在IDS10 中Unicode的 Database Insert data ? 2007/06/06 18:04 |
聲譽: 0   |
|
版本 IDS10.0 FC4 DB_LOCALE=en_us.utf8 CLIENT_LOCALE=en_us.utf8 SERVER_LOCALE=en_us.utf8
Table schema: chinese nvarchar(100,1) thai nvarchar(100,1)
因為要做中文及泰文對照, 但是目前利用 PB10 insert data 卻都是亂碼, 請問先進,該如何設定?
感謝您..
文章曾經由此用戶編輯: tarng, 於: 2007/06/06 18:06
|
|
|
|
管理員已關閉公開寫入.
|
tarng (用戶)
Fresh Boarder
文章: 3
|
| 回覆:如何在IDS10 中Unicode的 Database Insert data ? 2007/06/07 16:19 |
聲譽: 0   |
|
但是目前insert 進去的資料有些還是亂碼.. 不管是用 nvarchar Or varchar, 不知有哪些轉Unicode 的 API 可以使用在 PB上
|
|
|
|
管理員已關閉公開寫入.
|
Eric Lam (用戶)
Senior Boarder
文章: 11
|
| 回覆:如何在IDS10 中Unicode的 Database Insert data ? 2007/06/07 23:38 |
聲譽: 1   |
|
Please give me the data below
1. a table schema 2. couple sample records in a text file 3. your clientsdk version
|
|
|
|
管理員已關閉公開寫入.
|
tarng (用戶)
Fresh Boarder
文章: 3
|
| 回覆:如何在IDS10 中Unicode的 Database Insert data ? 2007/06/08 08:23 |
聲譽: 0   |
|
1.Table schema: chinese nvarchar(100,1) thai nvarchar(100,1)
2.這就是需要轉碼的問題 3.ClientSDK version:2.8TC1
|
|
|
|
管理員已關閉公開寫入.
|
|