logo       

Re: ActiveSupport::Multibyte for better Unicode support: msg#00199

lang.ruby.rails.core

Subject: Re: ActiveSupport::Multibyte for better Unicode support


On 26 Sep 2006, at 10:52 , Julian 'Julik' Tarkhanov wrote:
> On 26-sep-2006, at 10:06, 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?
>
> KCODE,

I agree. It's the Ruby way to set your encoding using $KCODE so Rails
1.2 should have $KCODE='utf-8' in environment.rb

> all response charsets out of the box UTF,

This is already in trunk since changeset 5129.

> maybe processing the params with iconv according to the request-
> charset.

This is only needed for very old and badly broken browsers. I don't
think Rails should do this by default.

Kind regards,
Thijs


--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-core@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core
-~----------~----~----~----~------~----~------~--~---




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise