Look at this page eventsinindia.com/event/639 Everything looked fine sometime back. But now there are question marks. I find such question marks on other pages too. What''s the root cause and what''s the fix. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 15, 2007, at 5:19 PM, Neeraj Kumar wrote:> > Look at this page > eventsinindia.com/event/639 > > Everything looked fine sometime back. But now there are question > marks. I find such question marks on other pages too. > > What''s the root cause and what''s the fix. > > ThanksThe page claims to be UTF-8, but the \225 characters are invalid in a UTF-8 encoding. Could the page have been updated by someone pasting text from a different encoding? Perhaps iso-8859-1 or similar from Windows? If you''re on a browser that can force the encoding, set it to ISO Latin 1 and you''ll see those are text bullets (which makes sense when you view the formatting of the page source. (For example, in Safari View->TextEncoding->Western(ISOLatin1) makes the page look OK.) -Rob Rob Biedenharn agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org
Hi Rob, Thanks for the quick response and I would look into your answer in more detail. I must confess that I don''t get all this encoding issue. Is there a resource ( paid or unpaid) which could discuss this UTF-8 encoding etc in greatet detail. I guess an oreilly shortcut on something like this would be useful to me. Anyway I will continue to investigate this issue and will try to educate myself. Thanks - Raj On 3/15/07, Rob Biedenharn <Rob-GBZH0y1GwQfnZcttdmLDtcI/UQi/AW5J@public.gmane.org> wrote:> > On Mar 15, 2007, at 5:19 PM, Neeraj Kumar wrote: > > > > > Look at this page > > eventsinindia.com/event/639 > > > > Everything looked fine sometime back. But now there are question > > marks. I find such question marks on other pages too. > > > > What''s the root cause and what''s the fix. > > > > Thanks > > The page claims to be UTF-8, but the \225 characters are invalid in a > UTF-8 encoding. Could the page have been updated by someone pasting > text from a different encoding? Perhaps iso-8859-1 or similar from > Windows? > > If you''re on a browser that can force the encoding, set it to ISO > Latin 1 and you''ll see those are text bullets (which makes sense when > you view the formatting of the page source. (For example, in Safari > View->TextEncoding->Western(ISOLatin1) makes the page look OK.) > > -Rob > > Rob Biedenharn agileconsultingllc.com > Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> I must confess that I don''t get all this encoding issue. Is there a > resource ( paid or unpaid) which could discuss this UTF-8 encoding etc > in greatet detail. I guess an oreilly shortcut on something like this > would be useful to me.for starters... joelonsoftware.com/articles/Unicode.html seemed a decent overview...> > Anyway I will continue to investigate this issue and will try to educate myself. > > Thanks > - Raj > > On 3/15/07, Rob Biedenharn <Rob-GBZH0y1GwQfnZcttdmLDtcI/UQi/AW5J@public.gmane.org> wrote: >> >> On Mar 15, 2007, at 5:19 PM, Neeraj Kumar wrote: >> >>> >>> Look at this page >>> eventsinindia.com/event/639 >>> >>> Everything looked fine sometime back. But now there are question >>> marks. I find such question marks on other pages too. >>> >>> What''s the root cause and what''s the fix. >>> >>> Thanks >> >> The page claims to be UTF-8, but the \225 characters are invalid in a >> UTF-8 encoding. Could the page have been updated by someone pasting >> text from a different encoding? Perhaps iso-8859-1 or similar from >> Windows? >> >> If you''re on a browser that can force the encoding, set it to ISO >> Latin 1 and you''ll see those are text bullets (which makes sense when >> you view the formatting of the page source. (For example, in Safari >> View->TextEncoding->Western(ISOLatin1) makes the page look OK.) >> >> -Rob >> >> Rob Biedenharn agileconsultingllc.com >> Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org >> >> >> >> >> > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It''s an encoding mismatch. In Safari I see the question marks when the page first loads. After changing the text-encoding to latin-1 manually in the browser everything is fine. So, the content seems to be latin-1 encoded. Your server is issuing a Content-Type: text/html; charset=utf-8 header though. My first thought would be to check the database encoding (collation) and the db connection encoding (database.yml). Am 15.03.2007 um 22:19 schrieb Neeraj Kumar:> > Look at this page > eventsinindia.com/event/639 > > Everything looked fine sometime back. But now there are question > marks. I find such question marks on other pages too. > > What''s the root cause and what''s the fix. > > Thanks > > >-- sven fuchs fon: +49 (58 45) 98 89 58 artweb design fax: +49 (58 45) 98 89 57 breite straße 65 www: artweb-design.de de-29468 bergen mail: svenfuchs-dUK+l/LC/MTXf2hzA9GHkA@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---