Friends
Homepage
Login
Google
Service
Import
Jalada
Computer Science student at the University of York, UK. Lead Developer of Twitterfall.com. Passionate about Erlang, Linux, Hacking and Antonia.
Jalada
Why is there no collation that treats /all/ accents as different but is still case insensitive?!?!
May 29, 2011
from
Jalada
Why is there no collation that treats /all/ accents as different but is still case sensitive?!?!
May 29, 2011
from
Jalada
So turns out that utf8_unicode_ci collates ñ and n. Damn you UTF8.
May 29, 2011
from
Jalada
OK maybe this is a MySQL error. It happens when I connect straight to the DB.
May 29, 2011
from
Jalada
You know, for something that's meant to be hip and modern, Rails is pretty crap at UTF8.
May 29, 2011
from
Jalada
Only suggestion I have found is to add case sensitivity because that stops it searching using BINARY, but then Cuña will be allowed.
May 29, 2011
from
Jalada
RoR question #2: If I do Word.find_by_word("cuna") it will return a Word model with the word 'cuña'. Um. No. Any ideas?
May 29, 2011
from
Jalada
Solution:
http://stackoverflow.com/questio...
Ruby 1.9. has \w mapped to [A-Za-z0-9_], use \p{Word}
May 29, 2011
from
Jalada
(this is Ruby 1.9.2p180)
May 29, 2011
from
Jalada
in Rails, the regexp /\w+/u against 'cuña' will match 'cu', it things ñ isn't a letter. Solution?!
May 29, 2011
from
Jalada
Looks like the baby birds are very close to fledging!
http://www.ustream.tv/channel...
some have already left!
May 28, 2011
from
Jalada
RT @
montymunford
: RT @
beyondcontent
: Ryanair using cookie history to inflate prices. Saved £100 by deleting cookie from yesterday's browsing session.
May 28, 2011
from
« Prev
Next »