search for: howtosetdefaultencod

Displaying 3 results from an estimated 3 matches for "howtosetdefaultencod".

2006 Jan 30
5
a RJS problem/patch
Hi, add_rjs_to_action_view.rb of javascript_generator_templates doesn''t work with setting Content-Type in a controller. (e.g.) http://wiki.rubyonrails.org/rails/pages/HowtoSetDefaultEncoding class ApplicationController < ActionController::Base before_filter :set_charset def set_charset @headers["Content-Type"] = "text/html; charset=utf-8" end end I think it''s better to set it forcely. --- add_rjs_to_action_view.rb.old 2006-01-31 0...
2006 Jan 30
4
characters are not being correctly displayed
ok, here is my problem: I started at my house a rails project, and I''m from argentina so I use spanish, and I uses characters like ''?'', ''?'', ''?'', ''?'', ''?''. In my house, every was working ok. Then I brought the application at office, and when I start the server, I just can''t see those
2006 Jul 14
6
Using RoR to produce .xhtml files
How can I manipulate RoR to produce an .xhtml file from the view template(s)? I see how I can use layouts and paritals to efficiently produce the content and tags that I need, but how can I get the actual file that''s produced to be named with the .xhtml suffix, (rather than *.htm, as it currently is)? [Note: I never thought the suffix was all that important, but evidenly Mozilla