similar to: Very strange: Umlauts (äöü) aren't displayed correctly in

Displaying 20 results from an estimated 2000 matches similar to: "Very strange: Umlauts (äöü) aren't displayed correctly in"

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
2007 Feb 28
1
One page in app keeps rendering as text/plain
Here''s what I get from wget -S: HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Wed, 28 Feb 2007 15:52:06 GMT Server: Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2 .8.28 OpenSSL/0.9.7a #<#<Class: 0x2a96d0b978>:0x2a96d0b928>Content-Type:
2006 Mar 22
9
Display problem
hey guys, Does anyone know why the french letter "?" is displayed as a question mark "?" inside an <h1> tag ? -- Posted via http://www.ruby-forum.com/.
2007 Apr 01
7
database.yml: encoding: utf8 does not work
Hi all According to the Agile 2nd Ed book I added the line encoding: utf8 to my database.yml connections. But now when running rake I get plenty of errors: Character set ''utf-8'' is not a compiled character set and is not specified in the ''/usr/local/mysql/share/mysql/charsets/Index'' file What''s wrong here? I checked this Index file, but it seems to
2009 Jul 14
1
How to add after_filter-style render
Hello I would like to execute specific action rendering something into page after each of my ajax calls. In example I would like to update some div or display an alert. How I imagine it could work is as follows class ApplicationController < ActionController::Base after_filter :do_something_after_each_ajax_call def do_something_after_each_ajax_call if request.xml_http_request?
2006 Mar 22
12
RJS page.replace(_html) problems
For some time now I try to get my code working. This Monday I switched to RJS (first with 1.0 + plugin) and yesterday to Edge Rails, so I guess I''ve been using the most recent version. I have a div with id="detail" which I want to update with a partial. If I''m using page.replace_html the content will be replaced with text, i.e. the javascript won''t become
2006 Jul 18
9
Displaying HTML pulled directly from a database
How can I get RoR to display html pulled directly from a database, without converting the tags. (e.g. if "<h1>Hello</h1>" is stored (as text) in a database, how can I get RoR NOT to corvert it to "&lt;h1&gt;Hello</h1>", but instead to just pass the tags along so that "Hello" displays in bold. I''m sure it''s just a
2009 Nov 04
11
Sending Mails with mutations ä,ü,ö
Hi everyone I am sending mails with rails in German. The Problem is that the German letters ä,ü,ö are arriving correctly at the receiver. When the subject contains the word Für the receiver gets Für Does anybody knows this issue? Thanks in advance. Adam -- Posted via http://www.ruby-forum.com/.
2007 Jan 18
4
Problem with encoding - characters such as öäü
Hi I''m trying to use german characters on a ruby on rails application, but for get ? on dropwdown menus. The database, tables and fields are encoded utf8_general_ci. I have this in my application controller: class ApplicationController < ActionController::Base before_filter :set_charset before_filter :configure_charsets def set_charset @headers["Content-Type"] =
2006 Jan 26
2
Newbe Question: Character Encoding
I have to present german umlaute as "?" on my webpage. When writing the text within the view, everything is fine - the characters are presented correctly. When I declare variable within the controller (e.g. via flash or as a list of values for a listbox) the text is displayed with the umlaute replaced by strange characters. I assume I have to adjust the character encoding somewhere.
2005 Aug 13
9
Multilingual Rails v0.6
Multilingual Rails v0.6 is released! Here is the changelog. Documentation and download at the homepage: http://www.tuxsoft.se/oss/rails/multilingual v0.6 - 2005-08-13 * String case-manipulation functions replaced with ruby-unicode equivalents (if ruby-unicode is installed): String#downcase, String#upcase and String#capitalize now fully handle Unicode. * String normalization
2005 Nov 06
1
Filenames with "special" characters (äöü€¶) on SMB share of Linkstation HD-HLAN250
Hello! I've got a Buffalo Linkstation HD-HLAN250. This is a consumer NAS device, which makes the built-in HD accessible via SMB and FTP. On that system, some sort of Linux with some sort of Samba is running. I'm now trying to create filenames with special characters (ie. non-ASCII chars) in it. For example "bl?der name" (means "stupid name"). To get access to the
2006 May 18
8
Concatenated key
Hi all, I started playing a couple days ago with Rails and it find it very interesting. But I''m a bit stuck with making it work with a concatenated primary key. I want to use my own names for the DB fields and I''m using SQL Server 2005. My tables look roughly like this: CREATE TABLE USERS ( USR_ID VARCHAR(25) NOT NULL PRIMARY KEY, USR_PASS VARCHAR(25) ) CREATE TABLE
2006 Feb 20
2
OT: screencast Editor for MacOs X?
Hi all, On MacOS, we have SnapZ Pro to RECORD screencasts. Is there a comfortable - *1 - screencast Editor, like CamTasia on Windows? At the very minimum I want to cut parts of the movies, insert "slides" and superpose drawings (frames, arrows, ..) or text? Alain *1 : not FinalCut, obviously. -- Posted via http://www.ruby-forum.com/.
2006 May 08
2
How to set the default language in GetText?
How to set the default language in GetText? The default language of GetText is en,and I want to change it to another language,and also keep the ability to change to any other languages by just click the according href. Currently I use: class ApplicationController < ActionController::Base before_filter :set_charset def set_charset @headers["Content-Type"] = "text/html;
2006 Feb 25
5
Setting character encoding - do I do it with Rails or lighttpd?
I have a page which validates "tentatively," because the validator uses the default character encoding. None was specified apparently, so it falls back to UTF-8. How and where do I specify the character encoding? Pat
2006 Feb 20
3
Rewriting with an after_filter
All - I''m completely new to RoR and also new to programming in an MVC structure... The Pragmatic Programmers guide to Rails says, temptingly: "After filters can be used to modify the outbound response, changing the headers and content if required. Some applications use this technique to perform global replacements in the content generated by the controller?s templates (for
2006 Mar 05
5
special characters?
I''m not sure if this is something in Rails or MySQL, but characters like ? are showing up funky in my app. I see ''?'' in the DB using a query browser, but in the app it shows up as ''A1/4.'' Do I need to use another charset or something? -- Posted via http://www.ruby-forum.com/.
2006 May 09
4
Ajax calls and characters encoding (accents)
Hello, my application controller defines before_filter :set_charset def set_charset @headers["Content-Type"] = "text/html; charset=ISO-8859-1" end Everything is fine and accents are rendered correctly in the browser. However, when I call a controller/action from Ajax (Prototype), the charset is not taken in account and accents are garbage displayed (''?''
2006 Apr 01
5
Upload a zip using a form and extract if afterwards on srv?
Hi all It like my visitors to be able to upload a zip file (or any other possible compressed file archive) to my server. After upload, my web app should extract the content to the server and delete the zip file. Is this possible somehow? I''m very thankful for help. Have a nice weekend, Joshua -- Posted via http://www.ruby-forum.com/.