Hello group members, I have been trying to use the latest stable prototype.js version 1.5.1 and noticed that it does not support IS) 8859-1 encoding. Is it designed to be like that? I might have difficulties using it for Internationalization. Thanks, Chetan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You should be using utf-8 - much much better for internationalization! On Jun 3, 7:37 pm, Chetan <onlineche...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello group members, > > I have been trying to use the latest stable prototype.js version 1.5.1 > and noticed that it does not support IS) 8859-1 encoding. Is it > designed to be like that? I might have difficulties using it for > Internationalization. > > Thanks, > Chetan--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Christophe Porteneuve
2007-Jun-04 07:10 UTC
Re: Prototype.js for ISO 8859-1 character encoding
Chetan a écrit :> Hello group members, > > I have been trying to use the latest stable prototype.js version 1.5.1 > and noticed that it does not support IS) 8859-1 encoding. Is it > designed to be like that? I might have difficulties using it for > Internationalization.Charset support is based on the browser''s--so we do support Latin1, it''s only a matter of your properly using the charset options sprinkled throughout the API. Prototype goes with the normative/browser defaults, which is UTF-8. And as Tobie pointed out, it''s the only reasonable way to go when planning for i18n: no other charset will let you (or your users) type any kind of stuff in and have it out properly. -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---