On 26/09/2006, at 6:06 PM, Michael Koziarski wrote:

> So,  if we merged in ActiveSupport::Multibyte, and updated helpers
> like truncate to use the chars proxy,  what other changes would be
> required to make this stuff simple?  Normalisation of input
> parameters?   Anything else?

As I said in an earlier email, the laundry list reads something like:
- Make sure your database character set is utf8 <- this should  
possibly be checked by Rails
- Make sure all your tables have a character set of utf8 <- this  
should be done in migrations
- Make sure your database.yml has 'encoding: utf8' set for each database
- Put $KCODE='u' in your environment.rb
- Add 'normalize_unicode_params :form => :kc' to your application.rb

> It would be nice if we could make it really easy to have this stuff
> 'just work' without much in the way of additional user intervention.

I'll sit down next week and write a plugin that does all this (if  
someone doesn't beat me to it).

Cheers,

Pete Yandell


--~--~---------~--~----~------------~-------~--~----~
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