On Sep 23, 2006, at 10:15 AM, Mathieu Jobin wrote:

> The ticket description already seems to be a very good general  
> overview.
> if my opinion count and this package has been well tested, I'd say  
> "Add please".
> although if it only patches ruby, not rails, it could be a separate  
> gems or a patch on ruby core/stdlib

Matz claims that Ruby currently has enough tools to deal with  
encoding. The problem is that you have to be an expert to do it  
right. The earliest Ruby is going to deal with encoding is in Rails  
2.0 and that's not going to come out really soon. So this leaves the  
encoding problem with the application programmers. Even though I have  
to admit that I would rather see a good solution in Ruby core or in a  
stdlib, it's not going to happen. ActiveSupport::Multibyte is an  
attempt to make dealing with encoding simpler for the Rails (core)  
programmer, right now. It could also work as a deprecation mechanism  
when/if support for Ruby comes out.

If ActiveSupport::Multibyte would be released as a gem or standalone  
library, Rails code can't depend on it and we'd have to litter the  
code with if statements.

Manfred


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core
-~----------~----~----~----~------~----~------~--~---

Reply via email to