UTF8じゃない文字列をsplit(//u)するとどうなるか(どうなるべきか)問題

takahashimtakahashim のブックマーク 2009/09/11 13:39

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Dealing with broken utf-8 with Ruby

    I’ve know that str.split had an idiom which split strings into characters (by default, bytes in Ruby 1.8) if passed a regular expression that matched a zero-width string, thus: string.split(//) Wha...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう