accented characters do not work with thin
Reported by sampei | April 16th, 2009 @ 04:43 AM | in 1.1
I noticed Thin does not work well if there are accented
characters in the html source. These characters, used in Italian
language, are:
à,è,é,ì,ò,ù.
Each time Thin meets an accented character in the html it is
rendering, the entire html page is cut of one character.
So, because the html source ends with '
I think this happens because unicode characters (such as à,è,...) take 2 bytes instead of one.
I noticed this issue with ruby 1.9.0 and ruby 1.9.1 and rails 2.2.2 and rails 2.3.2. The error is present but is ignored if I launch 'thin start' and then I go to localhost:3000. But the same error make the web app not working if I have an Apache2 with proxy on a thin server.
Comments and changes to this ticket
-
macournoyer April 17th, 2009 @ 08:36 AM
- Milestone changed from Future to 1.1
- State changed from new to open
hey sampei,
Have you tried w/ the latest version of Thin on master?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป