similar to: Unicode not working under Mongrel

Displaying 20 results from an estimated 20000 matches similar to: "Unicode not working under Mongrel"

2006 Jul 24
7
RoR + MySQL + Unicode
hello! I have a problem when I want to display data in Unicode from database. I read <a href="http://ruphus.com/blog/2005/06/23/getting-unicode-mysql-and-rails-to-cooperate/">this tutorial</a> but I still have problem with non-English characters. I don''t have any other idea what I should do. Did you meet with similat problem? Have you got any idea? Thanks in
2006 Apr 08
16
International characters
I am new to Ruby on Rails. I have read a lot, and bought several books, and now I have started to implement a modified "shopping cart", following the AWDWR-book, with modifications to suit our application (subscriptions and memberships). Having done up to chapter 7 I have had no real problems, except one: Since our customers are Swedish I need the screen names, texts etc to be in
2007 Nov 03
4
Mongrel Cluster: Rolling restart?
Hi all, Forgive me if this has been asked before, but is there a reason mongrel_rails cluster::restart stops all ports and then restarts them again? Wouldn''t it be better to restart each port one-by-one in series so that upstream proxy servers can fail over while the restart is occurring, or am I missing something? Thanks, eden
2006 Oct 15
14
Mongrel can''t handle some URLs that IE6 sends
IE6 happily sends unsafe* characters unencoded if you''ve typed them into the URL bar of your IE6 window. This could happen if you copy & paste a URL from an email or web page. Mongrel doesn''t seem to handle these properly. In 0.3.13.3 it would print out something like: Sun Oct 15 23:05:38 CST 2006: BAD CLIENT (192.168.1.2): Invalid HTTP format, parsing fails. 0.3.13.5
2006 May 07
3
Character Encoding
Hi, I''m sure I''m doing something dumb, but... I have an application that dynamically produces UTF8 encoded html exclusively. This application works using webrick without a problem. When using Mongrel 3.12.4 it looks as though the encoding is lost and garbage appears on the string. I suppose this could also be a double encoding, but personally, I can''t tell the
2006 May 24
3
Error when *just* adding utf8 encoding to database.yaml
Hi, I have Ruby 1.8.4 and have my MyISAM db and tables created via the migration files to utf8. A check with MySQL Front shows that all the tables and the db have been correctly created as I wanted them. I want the site to be in UTF8 format, and added the bit to application_controller.rb to get the correct header. All still worked fine at this stage. But I run into trouble when adding:
2006 Jan 05
1
unicode hacks - fixes for webrick and Safari
Hello! First, thank you Julian for the useful plugin ''unicode_hacks'' < http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/>. I have found some problems running my app in development on Webrick and looking at it with Safari (MacOS X 10.4.3, Safari 2.0.2). Some files are sent with different sizes (e.g. default css example, or controls.js ), and it
2007 Jun 26
11
mongrel not daemonizing for me..
Hey All, I''m setting up some mongrel servers.. can''t get it to daemonize. here is my configurator block:: config = Mongrel::Configurator.new(:host => OPTIONS[:ip]) do #debug(''/gateway.rb'',[:access,:threads]) listener :port => OPTIONS[:port] do uri("/gateway.rb", :handler => RUBYAMF::MongrelServlet.new, :num_processors =>
2007 Oct 29
1
evented mongrel dies on USR2
Sorry if this is the wrong place to ask, but when I run mongrel evented using swiftiply and then send it the USR2 signal to restart it, it dies. Without eventing, USR2 restarts mongrel as expected. Anyone else seen this? Here''s a dump: $ EVENT=1 mongrel_rails start -d -P /tmp/m.pid -p 4321 Using Evented Mongrel ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded $ kill
2006 Dec 14
5
Is there a way to make backgroundrb 0.2.1 fail silently on win32?
After upgrading to backgroundrb 0.2.x, Rails barfs lstat errors left and right when using the console or webrick or mongrel on win32. We run our site on a Linux server, so I''m not trying to get backgroundrb to work on a win32 machine. I just want to quietly stop loading itself if it detects that it''s on a win32 machine so that the rest of Rails can continue to load. Most of
2011 May 20
2
Rails DB defaults to utf8 for mysql -- but unicode for postgresql
Hi, Creating a new Rails application with -d postgresql sets the encoding in the database.yml to unicode Creating a new Rails with -d mysql sets the encoding to utf8 Any ideas why this difference? I''ve been having problems with encoding due to localization, accents, json and what no. I thought I was using utf8 and not unicode. Would this have any impact? If this would be an issue?
2006 Jan 30
15
i18n when?
Hi all, Just wondering... Are there any plans to include i18n support in Rails anytime soon? I guess this is about the only feature I''m realy missing in Rails. Any thoughts? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/63681052/attachment.html
2007 Apr 04
13
Mongrel dying daily with Ruby 1.8.6
Hi guys, I''ve been running mongrel for a while now with Ruby 1.8.4, and last week upgraded to 1.8.6. Since upgrading, each morning when I wake up there''s a big problem: 1. Accessing the site returns a "500 Internal Server Error" 2. All the mongrel_rails processes are still running, but none of them are active (when I run top) 3. Lighttpd and pound are still
2007 Mar 12
2
Mongrel on Windows Server 2003 Results in 500 Errors
Ok, here is the situation: I need to run a mongrel server on windows server 2003. The application it will be serving is an application that is frozen to rails 1.1.6. We''re using mongrel 1.0 as the web server. Every 10th request (random, sometimes more sometimes less), either called through ajax or as a normal page request... dies with a 500 error. No logs are available anywhere, as far
2006 Jun 15
1
Unicode hacks - problem
I have updated to latest Unicode hacks plugin and now it fails when rails are started .... C:\ruby_projects\radrails\workspace\auth_template>mongrel_rails start ** Starting Mongrel in development mode at 0.0.0.0:3000 ** Starting Rails in environment development ... C:/ruby_projects/radrails/workspace/auth_template/config/../vendor/plugins/scoped_access/init.rb:17:in
2006 Oct 19
8
Mongrel::HttpHandlerPlugin
Hi, I''m trying to write a file upload monitor for mongrel that uses juggernaut to alert the browser of a change. I''m writing a plugin that uses Mongrel::HttpHandlerPlugin but it looks like the only method that gets called is process and that is only when the upload has finished. I''m setting the following: @request_notify = true But I am still only getting process to
2006 Oct 10
6
"MySQL server has gone away" with Apache 2.2 + Mongrel cluster
Hi I just setup a server (Apache 2.2, mod_proxy_balancer, mongrel_cluster) with 2 Rails applications according to this excellent Post: http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you Everythings works great, but after a long inactive period (say one night), the first 3 connections allways get an Error 500 Excerpt from production.log: ...
2009 Feb 04
1
How to hack a mongrel cluster to restart in an alternating manner?
Hello, I''ve been trying (unsuccessfully) to hack my mongrel_cluster to re-ststart in an alternating manner. Specifically, this soluiton: http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongrel-cluster/#content Which means I an call to mongrel_rails cluster::restart to do this: mongrel_rails start 8001 mongrel_rails stop 8001 mongrel_rails start 8002
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am getting: '' => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails 2.2.2 application starting on http://0.0.0.0:3003 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3003 ** Starting Rails with development environment...
2005 Apr 26
8
Problems with unicode filenames
I have a file server with windows and I am creating a new Fedora Core 3 + Samba 3.0.10-1.fc3 file server... But i have many, many files that have chars like ?, ?, ? in their name... When I move the files to the Samba server, all that unicode chars are changed to ? I need a solution for that to move on, because my boss will not like to stop using that chars... Thanks for any help Cristian