MySQL 4.1 與 unicode

Mac OS X 平台上程式設計的相關問題討論

版主: bryanchangdigdog謝孟叡

回覆文章
內容
發表人
留言五百如一日
文章: 610
註冊時間: 12/25/2001 1:01 am

MySQL 4.1 與 unicode

#1 文章 »

MySQL.com 的文章 Unicode and Other Funny Characters
頭像
ulysses
討論區管理員
文章: 2475
註冊時間: 05/18/2001 1:01 am
來自: Forgotten Realm
聯繫:

#2 文章 ulysses »

Unicode 最大的麻煩是字串處理涵式,通通得改用一套新的。另外 bytes 數和字元數也不同,做 I/O 的時候也要特別處裡。
ash nazg durbatuluk, ash nazg gimbatul,
ash nazg thrakatuluk agh burzum-ishi krimpatul.
頭像
janusng
嗜冰客
文章: 1048
註冊時間: 04/30/2001 1:01 am
來自: Metropolis Asylum
聯繫:

#3 文章 janusng »

可惜的是,MySQL 4.1 甚至 5.0,都還只支援Unicode 2.0,即是所有Unicode 3.2 的 HKSCS 都還是和以前一樣,不支援。

2001 年的標準,竟然到兩年後, 2006 年的產品也仍未支援! :x

http://dev.mysql.com/doc/mysql/en/Charset-Unicode.html
As of MySQL version 4.1, there are two new character sets for storing Unicode data:

* ucs2, the UCS-2 Unicode character set.
* utf8, the UTF8 encoding of the Unicode character set.
...
Currently, MySQL UTF8 support does not include four-byte sequences.
...
最後由 janusng 於 10/30/2004 11:04 am 編輯,總共編輯了 2 次。
圖檔
It is not god who created man. It is man who created God.

Light travels faster than sound. This is why some people appear bright until you hear them speak.
頭像
ulysses
討論區管理員
文章: 2475
註冊時間: 05/18/2001 1:01 am
來自: Forgotten Realm
聯繫:

#4 文章 ulysses »

我用過不少資料庫,MySQL、PostgreSQL、DB2、Oracle,要不就是功能陽春要不就是值超所物,講到安裝維修支援,沒有一家及格,特別是 I 社與 O 社。

用來用去,只有微軟 SQL Server 的效能支援與價位比算是比較好的,可是就是只能在 Windowz 上跑...
ash nazg durbatuluk, ash nazg gimbatul,
ash nazg thrakatuluk agh burzum-ishi krimpatul.
回覆文章