search for: default_intern

Displaying 5 results from an estimated 5 matches for "default_intern".

Did you mean: default_internal
2012 Feb 17
2
Bug in unicorn_rails when Encoding.default_internal is set
...that unicorn workers were dying when someone requested a url with utf-8 in it, and died in such a way that subsequent requests to that worker would get the same blank 500 page even for plain ascii urls. I''ve been able to recreate this behavior one a fresh rails project by setting Encoding.default_internal to utf-8 and very little else. I''ve created an example repo at: https://github.com/lparry/how_to_kill_a_unicorn All you need to do is hit http://localhost:8080/users/? and the unicorn worker will die with an error: "Error during failsafe response: "\xE2" from ASCII-...
2009 Apr 12
9
invalid byte sequence utf-8 OR best option to sanitize content brought in with net::http? single non-utf character causes rails to crash
hi all, platform: debian lenny, ruby1.91.p0, passenger/apache-multithread, rails2.3 in vendor/postres and sql server via odbc. all current gems. i have legacy asp content on win2k servers that i wrap in rails controllers. this all worked great with ruby1.8, but now that we are dealing with encoded strings in ruby1.9, i am having page crashes randomly as users have cut and pasted high ascii code
2010 Jul 01
25
Encoding problems with Rails 3 + Ruby 1.9.1 (big surprise)
I have kind of an interesting problem. I have a form wherein people enter information. Big surprise. If they enter any "weird" characters like ø or é or whatever, the form will submit and all is well. However, I have a select box for the state which, if you''re looking at Spain, has states like A Coruña, Cádiz and País Vasco. These are pulled from the database which is set to
2009 Oct 15
5
invalid multibyte character error
Hi. When I try to use multibyte characters in my rails controller I get an invalid multibyte characters error (<rails_app>/app/controllers/admin_controller.rb:6: invalid multibyte char (US-ASCII)). Here is my controller: contoller AdminController < ApplicationController def read @title = ''Заголовок страницы'' end end Here is my haml template extraction: ...
2010 Apr 19
10
Overview of Ruby 1.9 encoding problem tickets
SUMMARY: -------- I tried to identify the general and root causes for these problems with 1.9, by taking into account non-utf encoding, current patches, comments and ideas. I used ticket #2188 as base for explanations. This is a long read. I wanted to include all the relevant information in one place. I also included information about related tickets in LH and their status. I decided that adding