精華區beta Ruby 關於我們 聯絡資訊
出自我的Blog http://lightyror.blogspot.com/2006/09/multibyte-for-rails.html 看到InfoQ這篇 Multibyte for Rails: A Unicode Solution for Rails? http://www.infoq.com/news/multibyte_for_rails 他提到 multibyte for rails project ActiveSupport::Multibyte extends the standard Ruby string with a chars proxy method. This proxy allows you to use a multibyte encoded string as a sequence of characters (or Unicode codepoints) instead of bytes 但是雖然做的不錯,但是因為會拖慢 Rails 字串處理的速度 所以並沒有納入 Core ActiveSupport 裡面 另外 Comment 就有人幹橋 支援 MultiByte 應該是 Ruby 的事情吧 (我也是這麼覺得XD) -- lighty RoR 是一個介紹 lighttpd , SQLite , Ruby and Rails 的 Blog http://lightyror.blogspot.com/ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.218.90.242