Re:Why I Like Ruby
by Tichy on Friday July 16, 2010 @07:40AM
(#1520849)
I am still not sure how unicode works in Ruby. Therefore I never dare to do any String operations like regular expressions or the the chomp/split he does.
The pragmatic book mentions something about kcode (I think), but Rails seems to use something else. Back when I last tried, I couldn't find any definite answers to this.
Maybe Ruby 1.9 solves this problem - but is it ready yet? Again, last I tried, there wasn't even a MySQL driver for it.
Re:Why I Like Ruby
by draegtun on Friday July 16, 2010 @08:42AM
(#1520929)
To be fair unicode has never been without issues in Perl & Python either! Perl has generally been the best of the three (IMHO) but Python 3.0 & Ruby 1.9 have probably now caught up.
The pragmatic book mentions something about kcode (I think), but Rails seems to use something else. Back when I last tried, I couldn't find any definite answers to this.
Maybe Ruby 1.9 solves this problem - but is it ready yet? Again, last I tried, there wasn't even a MySQL driver for it.