The ticket has a patch that shows how the API fits into the current
Rails code, with some fixes along the way (and more are coming).
We still haven't heard _a word_ from the core on the API.
Pretty please?
Hi Julik,
We have actually talked about this, sorry we didn't get back to you.
Trac's down at present, but my understanding of the patch is:
* String#chars and we can call @string.chars.size to get the number of
chars in the String (vs number of bytes
* Fixes to helpers like truncate to use .chars.size not .size
* A fallback implementation of String#chars for people who don't have
the unicode gem install.
If that's correct, I see no reason not to apply it and I'll assign
the patch to me.
We'll get it in for 1.2
--
Cheers
Koz
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core